git
[Ported from github.com/git/git] Sync with Git 2.56.1
Brought by drakestapleton
git / t / chainlint / for-loop-abbreviated.test
| 1 | test_expect_success 'for-loop-abbreviated' ' |
| 2 | # LINT: for-loop lacking optional "in [word...]" before "do" |
| 3 | for it |
| 4 | do |
| 5 | path=$(expr "$it" : '\([^:]*\)') && |
| 6 | git update-index --add "$path" || exit |
| 7 | done |
| 8 | ' |