summaryrefslogtreecommitdiff
path: root/t/t3306-notes-prune.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-08-18 12:17:17 -0700
committerJunio C Hamano <gitster@pobox.com>2010-08-18 12:17:17 -0700
commit4265ee3e6e391709168cc507c1c9bb705392cdfe (patch)
tree4ed873b595f3565911056401ade93eaa45b74b75 /t/t3306-notes-prune.sh
parent8d8c92521c9bfac1eeefb4d260e9eb903b429bb6 (diff)
parentce14e0b264b31dd02a0c9d1688bceb6579d052fa (diff)
downloadgit-4265ee3e6e391709168cc507c1c9bb705392cdfe.tar.gz
Merge branch 'jh/use-test-must-fail'
* jh/use-test-must-fail: Convert "! git" to "test_must_fail git"
Diffstat (limited to 't/t3306-notes-prune.sh')
-rwxr-xr-xt/t3306-notes-prune.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/t/t3306-notes-prune.sh b/t/t3306-notes-prune.sh
index b4554041b4..c4282179b3 100755
--- a/t/t3306-notes-prune.sh
+++ b/t/t3306-notes-prune.sh
@@ -67,7 +67,7 @@ test_expect_success 'remove some commits' '
test_expect_success 'verify that commits are gone' '
- ! git cat-file -p 5ee1c35e83ea47cd3cc4f8cbee0568915fbbbd29 &&
+ test_must_fail git cat-file -p 5ee1c35e83ea47cd3cc4f8cbee0568915fbbbd29 &&
git cat-file -p 08341ad9e94faa089d60fd3f523affb25c6da189 &&
git cat-file -p ab5f302035f2e7aaf04265f08b42034c23256e1f
'
@@ -106,7 +106,7 @@ test_expect_success 'prune notes' '
test_expect_success 'verify that notes are gone' '
- ! git notes show 5ee1c35e83ea47cd3cc4f8cbee0568915fbbbd29 &&
+ test_must_fail git notes show 5ee1c35e83ea47cd3cc4f8cbee0568915fbbbd29 &&
git notes show 08341ad9e94faa089d60fd3f523affb25c6da189 &&
git notes show ab5f302035f2e7aaf04265f08b42034c23256e1f
'
@@ -130,8 +130,8 @@ test_expect_success 'prune -v notes' '
test_expect_success 'verify that notes are gone' '
- ! git notes show 5ee1c35e83ea47cd3cc4f8cbee0568915fbbbd29 &&
- ! git notes show 08341ad9e94faa089d60fd3f523affb25c6da189 &&
+ test_must_fail git notes show 5ee1c35e83ea47cd3cc4f8cbee0568915fbbbd29 &&
+ test_must_fail git notes show 08341ad9e94faa089d60fd3f523affb25c6da189 &&
git notes show ab5f302035f2e7aaf04265f08b42034c23256e1f
'