Code & Deploy
Code
Models
Repos
Sign in
@matheusbsbs
/
matheus-bagliano
matheus-bagliano
/
t
/
chainlint
/
for-loop-abbreviated.test
Code
Commits
Pulls
CI/CD
81,841
master
bisect
jch
maint
master
next
seen
test
todo
test
8 lines
200 Bytes
Copy permalink
Copy
Raw
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
'