summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 335c6e4)
raw | patch | inline | side by side (parent: 335c6e4)
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | |
Tue, 20 Dec 2011 20:37:45 +0000 (20:37 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 20 Dec 2011 21:24:02 +0000 (13:24 -0800) |
Change an invocation of test_must_fail() to be inside a
test_expect_success() as is our usual pattern. Having it outside
caused our tests to fail under prove(1) since we wouldn't print a
newline before TAP output:
CONFLICT (content): Merge conflict in both.txt
# GETTEXT POISON #ok 2 - -m restores 2-way conflicted+resolved file
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
test_expect_success() as is our usual pattern. Having it outside
caused our tests to fail under prove(1) since we wouldn't print a
newline before TAP output:
CONFLICT (content): Merge conflict in both.txt
# GETTEXT POISON #ok 2 - -m restores 2-way conflicted+resolved file
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t2023-checkout-m.sh | patch | blob | history |
diff --git a/t/t2023-checkout-m.sh b/t/t2023-checkout-m.sh
index 1a40ce02e5d03abab92be5d167f5b92f1c86125d..7e189851348d571b2e654325ba38e7564d0bc950 100755 (executable)
--- a/t/t2023-checkout-m.sh
+++ b/t/t2023-checkout-m.sh
test_commit added_in_topic each.txt in_topic
'
-test_must_fail git merge master
+test_expect_success 'git merge master' '
+ test_must_fail git merge master
+'
clean_branchnames () {
# Remove branch names after conflict lines