mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Use test_streq in join_win_cmdline unit tests
This commit is contained in:
parent
7b8a7556a8
commit
699af29bae
@ -2077,7 +2077,7 @@ test_util_join_win_cmdline(void *ptr)
|
||||
for (i=0; cmdlines[i]!=NULL; i++) {
|
||||
log_info(LD_GENERAL, "Joining argvs[%d], expecting <%s>", i, cmdlines[i]);
|
||||
joined_argv = tor_join_win_cmdline(argvs[i]);
|
||||
tt_str_op(joined_argv, ==, cmdlines[i]);
|
||||
test_streq(cmdlines[i], joined_argv);
|
||||
tor_free(joined_argv);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user