Skip to content

Commit 7b177ed

Browse files
committed
fixup! add-patch: quit on EOF
1 parent f5ca7f5 commit 7b177ed

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

t/t3701-add-interactive.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1438,8 +1438,8 @@ test_expect_success 'EOF quits' '
14381438
echo X >file &&
14391439
echo X >file2 &&
14401440
git add -p </dev/null >out &&
1441-
grep file out &&
1442-
! grep file2 out
1441+
test_grep file out &&
1442+
test_grep ! file2 out
14431443
'
14441444

14451445
test_done

0 commit comments

Comments
 (0)