summaryrefslogtreecommitdiff
path: root/t/t3301-notes.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/t3301-notes.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/t3301-notes.sh')
-rwxr-xr-xt/t3301-notes.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t3301-notes.sh b/t/t3301-notes.sh
index 1d82f79ee0..96b75813d7 100755
--- a/t/t3301-notes.sh
+++ b/t/t3301-notes.sh
@@ -299,7 +299,7 @@ cat expect-F >> expect-rm-F
test_expect_success 'verify note removal with -F /dev/null' '
git log -4 > output &&
test_cmp expect-rm-F output &&
- ! git notes show
+ test_must_fail git notes show
'
test_expect_success 'do not create empty note with -m "" (setup)' '
@@ -309,7 +309,7 @@ test_expect_success 'do not create empty note with -m "" (setup)' '
test_expect_success 'verify non-creation of note with -m ""' '
git log -4 > output &&
test_cmp expect-rm-F output &&
- ! git notes show
+ test_must_fail git notes show
'
cat > expect-combine_m_and_F << EOF
@@ -357,7 +357,7 @@ cat expect-multiline >> expect-rm-remove
test_expect_success 'verify note removal with "git notes remove"' '
git log -4 > output &&
test_cmp expect-rm-remove output &&
- ! git notes show HEAD^
+ test_must_fail git notes show HEAD^
'
cat > expect << EOF