Patchwork [3,of,5] tests: fix typo of shebang prefix in test-check-pyflakes.t

login
register
mail settings
Submitter Yuya Nishihara
Date May 24, 2016, 2:32 p.m.
Message ID <bd8c3400d9df2fab4248.1464100371@mimosa>
Download mbox | patch
Permalink /patch/15189/
State Accepted
Headers show

Comments

Yuya Nishihara - May 24, 2016, 2:32 p.m.
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 1463276461 -32400
#      Sun May 15 10:41:01 2016 +0900
# Node ID bd8c3400d9df2fab424891882c525de7a94b70a5
# Parent  bc52f617e40dc27529a19be0e44c30873616e4c6
tests: fix typo of shebang prefix in test-check-pyflakes.t

Patch

diff --git a/tests/test-check-pyflakes.t b/tests/test-check-pyflakes.t
--- a/tests/test-check-pyflakes.t
+++ b/tests/test-check-pyflakes.t
@@ -5,7 +5,7 @@ 
 run pyflakes on all tracked files ending in .py or without a file ending
 (skipping binary file random-seed)
 
-  $ hg locate 'set:**.py or grep("^!#.*python")' 2>/dev/null \
+  $ hg locate 'set:**.py or grep("^#!.*python")' 2>/dev/null \
   > | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py"
   tests/filterpyflakes.py:61: undefined name 'undefinedname'