Skip to content

Commit 5f0ed3e

Browse files
committed
Merge branch 'sg/t3903-missing-fix'
Test fixes. * sg/t3903-missing-fix: t3903-stash: don't try to grep non-existing file
2 parents 1d27164 + 79b04f9 commit 5f0ed3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t3903-stash.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ test_expect_success 'store updates stash ref and reflog' '
724724
git add bazzy &&
725725
STASH_ID=$(git stash create) &&
726726
git reset --hard &&
727-
! grep quux bazzy &&
727+
test_path_is_missing bazzy &&
728728
git stash store -m quuxery $STASH_ID &&
729729
test $(git rev-parse stash) = $STASH_ID &&
730730
git reflog --format=%H stash| grep $STASH_ID &&

0 commit comments

Comments
 (0)