[PATCH 06/10] t7700-repack: modernize test format
- From
John Cai via GitGitGadget <gitgitgadget@gmail.com>
- Date
- May 20, 2023, 16:13 UTC
- Message-ID
- <c70af95a7998c7f0d1585cb412359d55d9ed4db6.1684599239.git.gitgitgadget@gmail.com>
- In-Reply-To
- <pull.1514.git.git.1684599239.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/t7700-repack.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/t/t7700-repack.sh b/t/t7700-repack.sh index faa739eeb91..3f930fa4762 100755 --- a/t/t7700-repack.sh +++ b/t/t7700-repack.sh @@ -460,10 +460,10 @@ test_expect_success '--write-midx -b packs non-kept objects' ' ' test_expect_success '--write-midx removes stale pack-based bitmaps' ' - rm -fr repo && - git init repo && - test_when_finished "rm -fr repo" && - ( + rm -fr repo && + git init repo && + test_when_finished "rm -fr repo" && + ( cd repo && test_commit base && GIT_TEST_MULTI_PACK_INDEX=0 git repack -Ab && @@ -477,7 +477,7 @@ test_expect_success '--write-midx removes stale pack-based bitmaps' ' test_path_is_file $midx && test_path_is_file $midx-$(midx_checksum $objdir).bitmap && test_path_is_missing $pack_bitmap - ) + ) ' test_expect_success '--write-midx with --pack-kept-objects' '
-- gitgitgadget