Skip to content

Commit a417128

Browse files
committed
_test/count_ignores: Ignore SC2028
We haven't confirmed that printf works
1 parent c302ab8 commit a417128

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

_test/count_ignores.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ for e in "$repo"/exercises/*/*; do
2525
done
2626
want_ignores=$((total_tests - 1))
2727
if [ "$total_ignores" != "$want_ignores" ]; then
28+
# ShellCheck wants us to use printf,
29+
# but there are no other uses of printf in this repo,
30+
# so printf hasn't been tested to work yet.
31+
# (We would not be opposed to using printf and removing this disable;
32+
# we just haven't tested it to confirm it works yet).
33+
# shellcheck disable=SC2028
2834
echo "\033[1;31m$e: Has $total_tests tests and $total_ignores ignores (should be $want_ignores)\033[0m"
2935
exitcode=1
3036
fi

0 commit comments

Comments
 (0)