]> git.99rst.org Git - git.git/commit
t1100: modernize test style
authorShlok Kulshreshtha <redacted>
Tue, 14 Jul 2026 12:20:32 +0000 (17:50 +0530)
committerJunio C Hamano <redacted>
Tue, 14 Jul 2026 14:18:42 +0000 (07:18 -0700)
commit678f3bb60dabece745b95f3a268813a7b17d6955
tree2efce839e6bb360355ce7bca4e8ccefd0ab5dcbb
parente9019fcafe0040228b8631c30f97ae1adb61bcdc
t1100: modernize test style

The tests in this script use the old style in which the test title and
body are passed as separate backslash-continued arguments, with bodies
indented using spaces:

    test_expect_success \
        'title' \
        'body'

Convert them to the modern style in which the body is a single-quoted
block on its own lines, indented with a tab:

    test_expect_success 'title' '
        body
    '

While at it, remove an extraneous blank line between two tests.

This is a style-only change; no test logic is modified.

Signed-off-by: Shlok Kulshreshtha <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t1100-commit-tree-options.sh
git clone https://git.99rst.org/PROJECT