X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft8001-annotate.sh;h=3a6490e8f864b3b3193a7b86d54a0e8d81d0dd20;hb=dca3957b8581ffd0faab135191bbee3029953bd2;hp=70e2ad23ae2bdc80aed196f2618c957d98d78410;hpb=f560069bc59e155c3078ba5482ce69ded68849df;p=git.git diff --git a/t/t8001-annotate.sh b/t/t8001-annotate.sh index 70e2ad23a..3a6490e8f 100755 --- a/t/t8001-annotate.sh +++ b/t/t8001-annotate.sh @@ -8,8 +8,8 @@ PROG='git annotate' test_expect_success \ 'Annotating an old revision works' \ - '[ $(git annotate file master | awk "{print \$3}" | grep -c "^A$") == 2 ] && \ - [ $(git annotate file master | awk "{print \$3}" | grep -c "^B$") == 2 ]' + '[ $(git annotate file master | awk "{print \$3}" | grep -c "^A$") -eq 2 ] && \ + [ $(git annotate file master | awk "{print \$3}" | grep -c "^B$") -eq 2 ]' test_done