Skip to content

Commit a8fcc0a

Browse files
john-caigitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 0aa0266 commit a8fcc0a

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

t/t3903-stash.sh

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,19 +1211,19 @@ test_expect_success 'stash with file including $IFS character' '
12111211
'
12121212

12131213
test_expect_success 'stash with pathspec matching multiple paths' '
1214-
echo original >file &&
1215-
echo original >other-file &&
1216-
git commit -m "two" file other-file &&
1217-
echo modified >file &&
1218-
echo modified >other-file &&
1219-
git stash push -- "*file" &&
1220-
echo original >expect &&
1221-
test_cmp expect file &&
1222-
test_cmp expect other-file &&
1223-
git stash pop &&
1224-
echo modified >expect &&
1225-
test_cmp expect file &&
1226-
test_cmp expect other-file
1214+
echo original >file &&
1215+
echo original >other-file &&
1216+
git commit -m "two" file other-file &&
1217+
echo modified >file &&
1218+
echo modified >other-file &&
1219+
git stash push -- "*file" &&
1220+
echo original >expect &&
1221+
test_cmp expect file &&
1222+
test_cmp expect other-file &&
1223+
git stash pop &&
1224+
echo modified >expect &&
1225+
test_cmp expect file &&
1226+
test_cmp expect other-file
12271227
'
12281228

12291229
test_expect_success 'stash push -p with pathspec shows no changes only once' '

0 commit comments

Comments
 (0)