Skip to content

Commit

Permalink
nit(tests/unicode_lint.sh): standardize failure format message
Browse files Browse the repository at this point in the history
  • Loading branch information
servusdei2018 committed Aug 8, 2021
1 parent 594ec82 commit 7b46925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unicode_lint.sh
Expand Up @@ -9,7 +9,7 @@ pass=true

# Scan ./lib/ for Unicode in source (*.c, *.h) files
result=$(
find ./lib/ -regex '.*\.\(c\|h\)$' -exec grep -P -n "[^\x00-\x7F]" {} \; -exec echo "FAIL: {}" \;
find ./lib/ -regex '.*\.\(c\|h\)$' -exec grep -P -n "[^\x00-\x7F]" {} \; -exec echo "{}: FAIL" \;
)
if [[ $result ]]; then
echo "$result"
Expand Down

0 comments on commit 7b46925

Please sign in to comment.