From: John Cai Date: Thu, 18 May 2023 20:03:21 +0000 (+0000) Subject: t5301-sliding-window: modernize test format X-Git-Tag: v2.42.0-rc0~112^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cc0c1ad9adee35b9af45acfa58ff0efb1c3dc3cc;p=thirdparty%2Fgit.git t5301-sliding-window: 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 Signed-off-by: Junio C Hamano --- diff --git a/t/t5301-sliding-window.sh b/t/t5301-sliding-window.sh index 3ccaaeb397..226490d60d 100755 --- a/t/t5301-sliding-window.sh +++ b/t/t5301-sliding-window.sh @@ -8,55 +8,55 @@ test_description='mmap sliding window tests' TEST_PASSES_SANITIZE_LEAK=true . ./test-lib.sh -test_expect_success \ - 'setup' \ - 'rm -f .git/index* && - for i in a b c - do - echo $i >$i && - test-tool genrandom "$i" 32768 >>$i && - git update-index --add $i || return 1 - done && - echo d >d && cat c >>d && git update-index --add d && - tree=$(git write-tree) && - commit1=$(git commit-tree $tree $i && + test-tool genrandom "$i" 32768 >>$i && + git update-index --add $i || return 1 + done && + echo d >d && cat c >>d && git update-index --add d && + tree=$(git write-tree) && + commit1=$(git commit-tree $tree