diff --git a/go/tests/entrypoint.sh b/go/tests/entrypoint.sh index 17a5dfbc..ed4dd66f 100755 --- a/go/tests/entrypoint.sh +++ b/go/tests/entrypoint.sh @@ -31,7 +31,7 @@ if test "$SKIP_FORMATTING"; then fi set -o nounset # TODO: Remove me after this variable is always set in all/tester/main.go -if find . -type f -name '*.go' -exec grep -qE '\tprint(ln)?\(' {} +; then +if find . -type f -name '*.go' -exec grep -qE 'print(ln)?\(' {} +; then echo "Your Go files cannot use print & println builtins" exit 1 fi