diff tests/test-check-code.t @ 19494:3119dc155ac2 stable

check-code: do not abort on an unreadable file, only report this
author Simon Heimberg <simohe@besonet.ch>
date Mon, 22 Jul 2013 10:04:45 +0200
parents d9e86d656017
children 725507cd5216
line wrap: on
line diff
--- a/tests/test-check-code.t	Thu Jul 25 00:54:49 2013 -0500
+++ b/tests/test-check-code.t	Mon Jul 22 10:04:45 2013 +0200
@@ -187,8 +187,10 @@
   > # this next line is okay
   > raise SomeException(arg1, arg2)
   > EOF
-  $ "$check_code" raise-format.py
+  $ "$check_code" not-existing.py raise-format.py
+  Skipping*not-existing.py* (glob)
   raise-format.py:1:
    > raise SomeException, message
    don't use old-style two-argument raise, use Exception(message)
   [1]
+