blob: 1dd14f2a445d07d4a499c623efbd63ad9d4d45a4 [file] [log] [blame]
test_expect_success 'for-loop-abbreviated' '
# LINT: for-loop lacking optional "in [word...]" before "do"
for it
do
path=$(expr "$it" : '\([^:]*\)') &&
git update-index --add "$path" || exit
done
'