t3903-stash.sh: Add missing '&&' to body of testcase
authorBrandon Casey <drafnel@gmail.com>
Sun, 2 Mar 2008 20:58:48 +0000 (14:58 -0600)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Mar 2008 09:20:59 +0000 (01:20 -0800)
Signed-off-by: Brandon Casey <drafnel@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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' '