tests: print line numbers when checking code
authorSimon Heimberg <simohe@besonet.ch>
Sat, 06 Jul 2013 21:48:07 +0200
changeset 19386 0e25a9e25931
parent 19385 c455e703348e
child 19387 f2e4fdb3dd27
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
tests/test-check-code-hg.t
--- 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