mirror of
https://github.com/git/git
synced 2024-10-02 14:45:21 +00:00
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>
This commit is contained in:
parent
0aa0266c4b
commit
a8fcc0ac89
|
@ -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' '
|
||||
|
|
Loading…
Reference in a new issue