Code

t3903-stash.sh: Add missing '&&' to body of testcase
[git.git] / t / t3903-stash.sh
index 9a9a250d2c6bad80745b7ebd2df7ac947d30b521..f24a4e80d3bc5b9874242f243ca3ebb4b05ed389 100755 (executable)
@@ -40,8 +40,8 @@ test_expect_success 'parents of stash' '
 test_expect_success 'apply needs clean working directory' '
        echo 4 > other-file &&
        git add other-file &&
-       echo 5 > other-file
-       ! git stash apply
+       echo 5 > other-file &&
+       test_must_fail git stash apply
 '
 
 test_expect_success 'apply stashed changes' '