From af139e100e1ccb296a6ccf5d0fd8953f321c2808 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Tue, 1 Sep 2015 14:45:17 -0400 Subject: [PATCH] tests/test_opts: test `OptionString` avoiding known options MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- tests/sav/test_opts_args9.res | 10 ++++++++++ tests/test_opts.args | 1 + 2 files changed, 11 insertions(+) create mode 100644 tests/sav/test_opts_args9.res 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 -- 1.7.9.5