diff options
author | Martin Ågren <martin.agren@gmail.com> | 2020-02-23 08:48:36 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-02-24 19:18:25 (GMT) |
commit | 3c29e21eb047be390d3908d429669cdca3037d9f (patch) | |
tree | 9398f7ea0763ce42f8abdf2ffbdbb7c9d3f33138 /t/t5409-colorize-remote-messages.sh | |
parent | cac439b56dd888d346b021b3b606d5e7bc3595d0 (diff) | |
download | git-3c29e21eb047be390d3908d429669cdca3037d9f.zip git-3c29e21eb047be390d3908d429669cdca3037d9f.tar.gz git-3c29e21eb047be390d3908d429669cdca3037d9f.tar.bz2 |
t: drop debug `cat` calls
We `cat` files, but don't inspect or grab the contents in any way.
Unlike in an earlier commit, there is no reason to suspect that these
files could be missing, so `cat`-ing them is just wasted effort.
Signed-off-by: Martin Ågren <martin.agren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5409-colorize-remote-messages.sh')
-rwxr-xr-x | t/t5409-colorize-remote-messages.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/t/t5409-colorize-remote-messages.sh b/t/t5409-colorize-remote-messages.sh index 2a8c449..5d8f401 100755 --- a/t/t5409-colorize-remote-messages.sh +++ b/t/t5409-colorize-remote-messages.sh @@ -56,14 +56,13 @@ test_expect_success 'short line' ' test_expect_success 'case-insensitive' ' git --git-dir child/.git -c color.remote=always push -f origin HEAD:refs/heads/case-insensitive 2>output && - cat output && test_decode_color <output >decoded && grep "<BOLD;RED>error<RESET>: error" decoded && grep "<BOLD;RED>ERROR<RESET>: also highlighted" decoded ' test_expect_success 'leading space' ' - git --git-dir child/.git -c color.remote=always push -f origin HEAD:refs/heads/leading-space 2>output && cat output && + git --git-dir child/.git -c color.remote=always push -f origin HEAD:refs/heads/leading-space 2>output && test_decode_color <output >decoded && grep " <BOLD;RED>error<RESET>: leading space" decoded ' |