X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;ds=sidebyside;f=t%2Ft7810-grep.sh;h=023f225a4b1f22c66fb291a76690564696d56035;hb=2b916ffa18cb163a9d8f0060a9127e9b0a84b955;hp=8a6322765c965bfc3a9158cc14312fdf03295090;hpb=2927a507bf8080661ed84000ce55465941bd28a9;p=git.git diff --git a/t/t7810-grep.sh b/t/t7810-grep.sh index 8a6322765..023f225a4 100755 --- a/t/t7810-grep.sh +++ b/t/t7810-grep.sh @@ -65,7 +65,7 @@ do test_expect_success "grep -w $L (w)" ' : >expected && - ! git grep -n -w -e "^w" >actual && + test_must_fail git grep -n -w -e "^w" >actual && test_cmp expected actual '