[PATCH 09/20] t3903-stash: modernize test format
- From
John Cai via GitGitGadget <gitgitgadget@gmail.com>
- Date
- May 18, 2023, 20:03 UTC
- Message-ID
- <456c73c880182e61af3c6dd5e42796e65d413996.1684440205.git.gitgitgadget@gmail.com>
- In-Reply-To
- <pull.1513.git.git.1684440205.gitgitgadget@gmail.com>
From: John Cai <johncai86@gmail.com>
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> --- t/t3903-stash.sh | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/t/t3903-stash.sh b/t/t3903-stash.sh index 376cc8f4ab8..0b3dfeaea20 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' '
-- gitgitgadget