From: Alexis Laferrière Date: Tue, 1 Sep 2015 18:45:17 +0000 (-0400) Subject: tests/test_opts: test `OptionString` avoiding known options X-Git-Tag: v0.7.8~44^2 X-Git-Url: http://nitlanguage.org tests/test_opts: test `OptionString` avoiding known options Signed-off-by: Alexis Laferrière --- diff --git a/tests/sav/test_opts_args9.res b/tests/sav/test_opts_args9.res new file mode 100644 index 0000000..8d0d5e1 --- /dev/null +++ b/tests/sav/test_opts_args9.res @@ -0,0 +1,10 @@ +Arguments: 2 +-s +-z +Rest: 0 +OptionBool: false +OptionCount: 0 +OptionString: -z +OptionInt: 10 +OptionArray: [] +OptionEnum: 1 diff --git a/tests/test_opts.args b/tests/test_opts.args index f31fc0e..b75dafa 100644 --- a/tests/test_opts.args +++ b/tests/test_opts.args @@ -6,3 +6,4 @@ args --bool args -- args -c -a -e 1 -bcc +-s -z