Mercurial > public > mercurial-scm > hg-stable
diff tests/test-check-code.t @ 18762:a91387a37f05
check-code: do not prepend "warning" to a failure message
The prefix has not been removed when this check changed from a warning to a
failure.
author | Simon Heimberg <simohe@besonet.ch> |
---|---|
date | Sat, 09 Mar 2013 22:14:46 +0100 |
parents | e1caaeb5a2ed |
children | d9e86d656017 |
line wrap: on
line diff
--- a/tests/test-check-code.t Sat Mar 09 16:09:27 2013 -0800 +++ b/tests/test-check-code.t Sat Mar 09 22:14:46 2013 +0100 @@ -163,13 +163,13 @@ object comparison with literal [1] - $ cat > warning.py <<EOF + $ cat > for-nolineno.py <<EOF > except: > EOF - $ "$check_code" warning.py --warning --nolineno - warning.py:0: + $ "$check_code" for-nolineno.py --nolineno + for-nolineno.py:0: > except: - warning: naked except clause + naked except clause [1] $ cat > raise-format.py <<EOF