Mercurial > hg-stable
changeset 19386:0e25a9e25931
tests: print line numbers when checking code
When an exception will be listed the line numbers can be replaced with glob
as it is done in test-check-pyflakes.t
author | Simon Heimberg <simohe@besonet.ch> |
---|---|
date | Sat, 06 Jul 2013 21:48:07 +0200 |
parents | c455e703348e |
children | f2e4fdb3dd27 |
files | tests/test-check-code-hg.t |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-check-code-hg.t Sat Jul 06 21:48:01 2013 +0200 +++ b/tests/test-check-code-hg.t Sat Jul 06 21:48:07 2013 +0200 @@ -27,5 +27,5 @@ New errors are not allowed. Warnings are strongly discouraged. $ { hg manifest 2>/dev/null; ls "$TESTTMP"/*.py; } \ - > | xargs "$check_code" --warnings --nolineno --per-file=0 \ + > | xargs "$check_code" --warnings --per-file=0 \ > || false