]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t3903-stash.sh
Merge branch 'jc/fail-stash-to-store-non-stash'
[thirdparty/git.git] / t / t3903-stash.sh
index 35c8569aeac02c7d30cd02c535babd98c970712d..30b64260a8a943305d6d798deda056ec6b9617c2 100755 (executable)
@@ -1215,19 +1215,19 @@ test_expect_success 'stash with file including $IFS character' '
 '
 
 test_expect_success 'stash with pathspec matching multiple paths' '
-       echo original >file &&
-       echo original >other-file &&
-       git commit -m "two" file other-file &&
-       echo modified >file &&
-       echo modified >other-file &&
-       git stash push -- "*file" &&
-       echo original >expect &&
-       test_cmp expect file &&
-       test_cmp expect other-file &&
-       git stash pop &&
-       echo modified >expect &&
-       test_cmp expect file &&
-       test_cmp expect other-file
+       echo original >file &&
+       echo original >other-file &&
+       git commit -m "two" file other-file &&
+       echo modified >file &&
+       echo modified >other-file &&
+       git stash push -- "*file" &&
+       echo original >expect &&
+       test_cmp expect file &&
+       test_cmp expect other-file &&
+       git stash pop &&
+       echo modified >expect &&
+       test_cmp expect file &&
+       test_cmp expect other-file
 '
 
 test_expect_success 'stash push -p with pathspec shows no changes only once' '