]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t5409-colorize-remote-messages.sh
t: use update-ref and show-ref to reading/writing refs
[thirdparty/git.git] / t / t5409-colorize-remote-messages.sh
index 2a8c4496618523ebdbd03eb152a1e8189fafcd0a..5d8f401d8ece8cc76e8c46591ed4883337e57a5f 100755 (executable)
@@ -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
 '