t3903: fix misquoted rev-parse invocation
[gitweb.git] / t / t3903-stash.sh
index d99f27a12f40d73094ef286a067f3c6771e61865..f56979d15a16b0aae60117eddc71cd8d9ca85727 100755 (executable)
@@ -461,7 +461,7 @@ test_expect_success 'ref with non-existant reflog' '
        echo bar6 > file2 &&
        git add file2 &&
        git stash &&
-       ! "git rev-parse --quiet --verify does-not-exist" &&
+       test_must_fail git rev-parse --quiet --verify does-not-exist &&
        test_must_fail git stash drop does-not-exist &&
        test_must_fail git stash drop does-not-exist@{0} &&
        test_must_fail git stash pop does-not-exist &&