diff options
-rwxr-xr-x | t/t3905-stash-include-untracked.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t3905-stash-include-untracked.sh b/t/t3905-stash-include-untracked.sh index adc25245b9..ca1a46cb11 100755 --- a/t/t3905-stash-include-untracked.sh +++ b/t/t3905-stash-include-untracked.sh @@ -28,7 +28,7 @@ cat > expect <<EOF EOF test_expect_success 'stash save --include-untracked cleaned the untracked files' ' - git status --porcelain >actual + git status --porcelain >actual && test_cmp expect actual ' @@ -71,7 +71,7 @@ EOF test_expect_success 'stash pop after save --include-untracked leaves files untracked again' ' git stash pop && - git status --porcelain >actual + git status --porcelain >actual && test_cmp expect actual ' @@ -136,7 +136,7 @@ test_expect_success 'stash save --include-untracked respects .gitignore' ' test_expect_success 'stash save -u can stash with only untracked files different' ' echo 4 > file4 && - git stash -u + git stash -u && test "!" -f file4 ' |