From: Jani Nikula Date: Mon, 3 Dec 2012 22:54:52 +0000 (+0200) Subject: test: fix an evident copy-paste error in argument parsing test X-Git-Tag: 0.15_rc1~132 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=7f54db1f04f6d0d0e7edc917ea634badd5d4d679 test: fix an evident copy-paste error in argument parsing test --- diff --git a/test/arg-test.c b/test/arg-test.c index adc56e30..6c49eacd 100644 --- a/test/arg-test.c +++ b/test/arg-test.c @@ -41,7 +41,7 @@ int main(int argc, char **argv){ printf("positional arg 1 %s\n", pos_arg1); 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 ++) { diff --git a/test/argument-parsing b/test/argument-parsing index 672de0b3..94e90874 100755 --- a/test/argument-parsing +++ b/test/argument-parsing @@ -9,7 +9,7 @@ keyword 1 int 7 string foo positional arg 1 pos1 -positional arg 2 pos1 +positional arg 2 pos2 EOF test_expect_equal_file OUTPUT EXPECTED