# HG changeset patch # User Matt Mackall # Date 2012-11-26 21:59:02 # Node ID a6180647ead4871359ec1885ea1f0956dbffab4b # Parent 09d5681d5b72e3dcf8e645b7e9eaaebc5473b36e tests: only call check-code once The accepted warnings list is now empty, let's try to keep it that way. diff --git a/tests/test-check-code-hg.t b/tests/test-check-code-hg.t --- a/tests/test-check-code-hg.t +++ b/tests/test-check-code-hg.t @@ -5,6 +5,7 @@ > echo "skipped: not a Mercurial working dir" >&2 > exit 80 > fi - $ hg manifest | xargs "$check_code" || echo 'FAILURE IS NOT AN OPTION!!!' - $ hg manifest | xargs "$check_code" --warnings --nolineno --per-file=0 || true +New errors are not allowed. Warnings are strongly discouraged. + + $ hg manifest | xargs "$check_code" --warnings --nolineno --per-file=0