diff tests/test-check-code.t @ 15281:aeeb2afcdc25 stable

check-code: support multiline matches like try/except/finally - match one pattern at a time against entire file - find line containing match - sort matches by line number
author Matt Mackall <mpm@selenic.com>
date Sun, 16 Oct 2011 20:26:20 -0500
parents b071cd58af50
children 42e71f5852ee
line wrap: on
line diff
--- a/tests/test-check-code.t	Sun Oct 16 17:22:07 2011 -0500
+++ b/tests/test-check-code.t	Sun Oct 16 20:26:20 2011 -0500
@@ -50,8 +50,8 @@
    Python keyword is not a function
   ./wrong.py:3:
    >     return ( 5+6, 9)
+   gratuitous whitespace in () or []
    missing whitespace in expression
-   gratuitous whitespace in () or []
   ./quote.py:5:
    > '"""', 42+1, """and
    missing whitespace in expression