threads / patch / 15036

patcht9300: replace '!' with test_must_fail

Subject: [PATCH] t9300: replace '!' with test_must_fail

## tl;dr

One message between Aug 16, 2008 and Aug 16, 2008. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Miklos Vajna· Aug 16, 2008, 15:17 UTC · lore
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
---

I hope no more details are needed, this is similar to 03b9dfb, but this time for fast-import.

 t/t9300-fast-import.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Show changes to t/t9300-fast-import.sh +2 −2
diff --git a/t/t9300-fast-import.sh b/t/t9300-fast-import.sh
index 1fc06c5..c6bc0a6 100755
--- a/t/t9300-fast-import.sh
+++ b/t/t9300-fast-import.sh
@@ -1045,7 +1045,7 @@ DATA
 INPUT_END
 
 test_expect_success 'P: fail on inline gitlink' '
-    ! git-fast-import <input'
+    test_must_fail git-fast-import <input'
 
 test_tick
 cat >input <<INPUT_END
@@ -1068,6 +1068,6 @@ M 160000 :1 sub
 INPUT_END
 
 test_expect_success 'P: fail on blob mark in gitlink' '
-    ! git-fast-import <input'
+    test_must_fail git-fast-import <input'
 
 test_done
-- 
1.6.0.rc0.14.g95f8.dirty

← back to recent threads