mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 20:08:10 +01:00
test: fix an evident copy-paste error in argument parsing test
This commit is contained in:
parent
bd918e35d4
commit
7f54db1f04
2 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ int main(int argc, char **argv){
|
||||||
printf("positional arg 1 %s\n", pos_arg1);
|
printf("positional arg 1 %s\n", pos_arg1);
|
||||||
|
|
||||||
if (pos_arg2)
|
if (pos_arg2)
|
||||||
printf("positional arg 2 %s\n", pos_arg1);
|
printf("positional arg 2 %s\n", pos_arg2);
|
||||||
|
|
||||||
|
|
||||||
for ( ; opt_index < argc ; opt_index ++) {
|
for ( ; opt_index < argc ; opt_index ++) {
|
||||||
|
|
|
@ -9,7 +9,7 @@ keyword 1
|
||||||
int 7
|
int 7
|
||||||
string foo
|
string foo
|
||||||
positional arg 1 pos1
|
positional arg 1 pos1
|
||||||
positional arg 2 pos1
|
positional arg 2 pos2
|
||||||
EOF
|
EOF
|
||||||
test_expect_equal_file OUTPUT EXPECTED
|
test_expect_equal_file OUTPUT EXPECTED
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue