git
[Ported from github.com/git/git] Sync with Git 2.56.1
Brought by drakestapleton
git / t / chainlint / cuddled-if-then-else.test
| 1 | test_expect_success 'cuddled-if-then-else' ' |
| 2 | # LINT: "if" cuddled with "(" and ")"; indented with spaces, not tabs |
| 3 | (if test -z ""; then |
| 4 | echo empty |
| 5 | else |
| 6 | echo bizzy |
| 7 | fi) && |
| 8 | echo foobar |
| 9 | ' |