diff --git a/test b/test index 6e60ced3c4fc..186df678b552 100755 --- a/test +++ b/test @@ -371,7 +371,7 @@ function fmt_pass { if [ -n "${staticcheckResult}" ]; then # TODO: resolve these after go1.8 migration # See https://github.com/dominikh/go-tools/tree/master/cmd/staticcheck - STATIC_CHECK_MASK="SA(1019|2002)" + STATIC_CHECK_MASK="SA(1012|1019|2002)" if echo "${staticcheckResult}" | egrep -v "$STATIC_CHECK_MASK"; then echo -e "staticcheck checking failed:\n${staticcheckResult}" exit 255