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 <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Elijah Newren committed
Jun 6, 2018 at 22:05 UTC
e951e8f6a9fa1940d1e89bad07480f9224ebbdf3
1 file changed
+1
-1
t/t5407-post-rewrite-hook.sh
+1
-1
@@ -113,7 +113,7 @@ test_expect_success 'git rebase -m' '
113
test_expect_success 'git rebase -m --skip' '
114
git reset --hard D &&
115
clear_hook_input &&
116
- test_must_fail git rebase --onto A B &&
116
+ test_must_fail git rebase -m --onto A B &&
117
test_must_fail git rebase --skip &&
118
echo D > foo &&
119
git add foo &&