aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Cai <johncai86@gmail.com>2023-05-18 20:03:14 +0000
committerJunio C Hamano <gitster@pobox.com>2023-05-19 10:08:11 -0700
commita8fcc0ac89566ce2ddd4eb88e1d601613f0028fd (patch)
tree76b3fc7cdc4bc401742ad85db26737801a900fc7
parent0aa0266c4b6ad147c3275e078db547b69353b7ce (diff)
downloadgit-a8fcc0ac89566ce2ddd4eb88e1d601613f0028fd.tar.gz
t3903-stash: modernize test format
Some tests still use the old format with four spaces indentation. Standardize the tests to the new format with tab indentation. Signed-off-by: John Cai <johncai86@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xt/t3903-stash.sh26
1 files changed, 13 insertions, 13 deletions
diff --git a/t/t3903-stash.sh b/t/t3903-stash.sh
index 376cc8f4ab..0b3dfeaea2 100755
--- a/t/t3903-stash.sh
+++ b/t/t3903-stash.sh
@@ -1211,19 +1211,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' '