mirror of
https://github.com/transmission/transmission
synced 2025-03-15 16:29:34 +00:00
(trunk, libT) tr-getopt-test fixes similar to r14192
This commit is contained in:
parent
eff3b75586
commit
80a5815c0c
1 changed files with 2 additions and 2 deletions
|
@ -50,8 +50,8 @@ test_no_options (void)
|
|||
int argc = 1;
|
||||
const char * argv[] = { "/some/path/tr-getopt-test" };
|
||||
int expected_n = 0;
|
||||
int expected_c[] = { };
|
||||
const char * expected_optarg[] = { };
|
||||
int expected_c[] = { 0 };
|
||||
const char * expected_optarg[] = { NULL };
|
||||
return run_test (argc, argv, expected_n, expected_c, expected_optarg);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue