Skip to content

Commit e951e8f

Browse files
newrengitster
authored andcommitted
t5407: fix test to cover intended arguments
Test 8 in t5407 appears to be an accidental exact duplicate of of test 5; the testcode is identical and has identical repo state, but the test description is different and suggests that rebase -m followed by rebase --skip was what was actually supposed to be tested. Modify the test to include the -m option. Signed-off-by: Elijah Newren <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent e333175 commit e951e8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t5407-post-rewrite-hook.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ test_expect_success 'git rebase -m' '
113113
test_expect_success 'git rebase -m --skip' '
114114
git reset --hard D &&
115115
clear_hook_input &&
116-
test_must_fail git rebase --onto A B &&
116+
test_must_fail git rebase -m --onto A B &&
117117
test_must_fail git rebase --skip &&
118118
echo D > foo &&
119119
git add foo &&

0 commit comments

Comments
 (0)