diff mbox series

[1/5] t0040-parse-options: remove leftover debugging

Message ID 20220905185007.9042-2-szeder.dev@gmail.com (mailing list archive)
State Accepted
Commit 9a22b4d907ebca52352997fe0e69714db247bb4c
Headers show
Series parse-options: minor cleanups for handling subcommands | expand

Commit Message

SZEDER Gábor Sept. 5, 2022, 6:50 p.m. UTC
Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
---
 t/t0040-parse-options.sh | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/t/t0040-parse-options.sh b/t/t0040-parse-options.sh
index b19b8d3486..5cc62306e3 100755
--- a/t/t0040-parse-options.sh
+++ b/t/t0040-parse-options.sh
@@ -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
 	"