master
sh 16 lines 330 Bytes
Raw
1 #!/usr/bin/env bash
2
3 test_description="Test sharness test indent"
4
5 . lib/test-lib.sh
6
7 for file in $(find .. -name 't*.sh' -type f); do
8 if [ "$(basename "$file")" = "t0290-cid.sh" ]; then
9 continue
10 fi
11 test_expect_success "indent in $file is not using tabs" '
12 test_must_fail grep -P "^ *\t" $file
13 '
14 done
15
16 test_done