Skip to content

Commit 7db00f0

Browse files
newrengitster
authored andcommitted
t3406: simplify an already simple test
When the merge backend was re-implemented on top of the interactive backend, the output of rebase --merge changed a little. This change allowed this test to be simplified, though it wasn't noticed until now. Simplify the testcase a little. Signed-off-by: Elijah Newren <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent e98c426 commit 7db00f0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

t/t3406-rebase-message.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,8 @@ test_expect_success 'setup' '
1818
'
1919

2020
test_expect_success 'rebase -m' '
21-
git rebase -m master >report &&
22-
>expect &&
23-
sed -n -e "/^Already applied: /p" \
24-
-e "/^Committed: /p" report >actual &&
25-
test_cmp expect actual
21+
git rebase -m master >actual &&
22+
test_must_be_empty actual
2623
'
2724

2825
test_expect_success 'rebase against master twice' '

0 commit comments

Comments
 (0)