]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t0040-parse-options: remove leftover debugging
authorSZEDER Gábor <szeder.dev@gmail.com>
Mon, 5 Sep 2022 18:50:03 +0000 (20:50 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 7 Sep 2022 19:06:12 +0000 (12:06 -0700)
Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0040-parse-options.sh

index b19b8d3486f774ccc280255fd55f2157aea85b1e..5cc62306e39c4f7ab2f6fec35d3cafc7bd65be86 100755 (executable)
@@ -500,7 +500,6 @@ test_expect_success 'KEEP_UNKNOWN_OPT works' '
 
 test_expect_success 'NO_INTERNAL_HELP works for -h' '
        test_expect_code 129 test-tool parse-options-flags --no-internal-help cmd -h 2>err &&
-       cat err &&
        grep "^error: unknown switch \`h$SQ" err &&
        grep "^usage: " err
 '
@@ -509,7 +508,6 @@ for help_opt in help help-all
 do
        test_expect_success "NO_INTERNAL_HELP works for --$help_opt" "
                test_expect_code 129 test-tool parse-options-flags --no-internal-help cmd --$help_opt 2>err &&
-               cat err &&
                grep '^error: unknown option \`'$help_opt\' err &&
                grep '^usage: ' err
        "