diff --git a/t/t3903-stash.sh b/t/t3903-stash.sh
index 9a9a250d2c6bad80745b7ebd2df7ac947d30b521..f24a4e80d3bc5b9874242f243ca3ebb4b05ed389 100755 (executable)
--- a/t/t3903-stash.sh
+++ b/t/t3903-stash.sh
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' '