summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xt/t0040-parse-options.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/t/t0040-parse-options.sh b/t/t0040-parse-options.sh
index abccfa5f26..22929280fe 100755
--- a/t/t0040-parse-options.sh
+++ b/t/t0040-parse-options.sh
@@ -93,6 +93,7 @@ test_expect_success 'OPT_BOOL() no negation #1' 'check_unknown_i18n --fear'
test_expect_success 'OPT_BOOL() no negation #2' 'check_unknown_i18n --no-no-fear'
test_expect_success 'OPT_BOOL() positivation' 'check boolean: 0 -D --doubt'
+test_expect_success 'OPT_BOOL() no double negation' 'check_unknown_i18n --no-no-doubt'
test_expect_success 'OPT_INT() negative' 'check integer: -2345 -i -2345'
@@ -391,8 +392,4 @@ test_expect_success '--no-verbose resets multiple verbose to 0' '
test-parse-options --expect="verbose: 0" -v -v -v --no-verbose
'
-test_expect_success 'double negation not accepted' '
- test_must_fail test-parse-options --expect="boolean: 0" --no-no-doubt
-'
-
test_done