help: use parseopt
[gitweb.git] / t / t0040-parse-options.sh
index 0a3b55d1212ddeda87f1f3ffa4c4e2fbefb44553..0e2933a984fcf6a23b60e54ed43c411c699d4347 100755 (executable)
@@ -87,9 +87,9 @@ test_expect_success 'unambiguously abbreviated option with "="' '
        git diff expect output
 '
 
-test_expect_failure 'ambiguously abbreviated option' '
+test_expect_success 'ambiguously abbreviated option' '
        test-parse-options --strin 123;
-        test $? != 129
+       test $? = 129
 '
 
 cat > expect << EOF