tests/test_opts: test `OptionString` avoiding known options
authorAlexis Laferrière <alexis.laf@xymus.net>
Tue, 1 Sep 2015 18:45:17 +0000 (14:45 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Wed, 2 Sep 2015 20:58:21 +0000 (16:58 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

tests/sav/test_opts_args9.res [new file with mode: 0644]
tests/test_opts.args

diff --git a/tests/sav/test_opts_args9.res b/tests/sav/test_opts_args9.res
new file mode 100644 (file)
index 0000000..8d0d5e1
--- /dev/null
@@ -0,0 +1,10 @@
+Arguments: 2
+-s
+-z
+Rest: 0
+OptionBool: false
+OptionCount: 0
+OptionString: -z
+OptionInt: 10
+OptionArray: []
+OptionEnum: 1
index f31fc0e..b75dafa 100644 (file)
@@ -6,3 +6,4 @@ args --bool args -- args -c
 -a
 -e 1
 -bcc
+-s -z