parse-options: write blank line to correct output stream
[gitweb.git] / t / t1502-rev-parse-parseopt.sh
index 1bfa80f8ac5ebe76a19511eb4e3ce43b185c8f77..ce7dda1ee828463f5450958578f7f6edf9d0dd2c 100755 (executable)
@@ -139,7 +139,7 @@ END_EXPECT
        test_i18ncmp expect output
 '
 
-test_expect_failure 'test --parseopt invalid switch help output' '
+test_expect_success 'test --parseopt invalid switch help output' '
        sed -e "s/^|//" >expect <<\END_EXPECT &&
 |error: unknown option `does-not-exist'\''
 |usage: some-command [options] <args>...