##// END OF EJS Templates
add a small test for contrib/check-code.py...
add a small test for contrib/check-code.py This changeset adds a test file for contrib/check-code.py. This test runs check-code.py against two small files. The first file should not raise any check-code.py error while the second should. A line contains multiple errors to verify the check-code.py behaviour: In the case of multiple errors at the same line, the context line should only be displayed once.

File last commit:

r10715:83dce0f8 default
r10715:83dce0f8 default
Show More
test-check-code.out
10 lines | 235 B | text/plain | TextLexer
./wrong.py:1:
> def toto( arg1, arg2):
gratuitous whitespace in () or []
./wrong.py:2:
> del(arg2)
del isn't a function
./wrong.py:3:
> return ( 5+6, 9)
missing whitespace in expression
gratuitous whitespace in () or []