about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-04-30 16:32:47 -0700
committerBrian Anderson <banderson@mozilla.com>2012-04-30 16:33:45 -0700
commit30385022c1a7b265a746acb702e6fd1ee3d0e92f (patch)
tree5f0464553102171623b909419b69bde1bcd3ce38 /src
parent3f3339e07685769359a175c040307fba0202ca50 (diff)
downloadrust-30385022c1a7b265a746acb702e6fd1ee3d0e92f.tar.gz
rust-30385022c1a7b265a746acb702e6fd1ee3d0e92f.zip
build: No tidy for test files. Closes #2271
Diffstat (limited to 'src')
-rw-r--r--src/etc/tidy.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/etc/tidy.py b/src/etc/tidy.py
index 0948b5fb00c..a8d87ece989 100644
--- a/src/etc/tidy.py
+++ b/src/etc/tidy.py
@@ -32,9 +32,7 @@ try:
             report_err("trailing whitespace")
         line_len = len(line)-2 if autocrlf else len(line)-1
 
-        # Along long lines if they are part of an expected error message
-        # in a test, which is denoted with "//!":
-        if line_len > cols and "//!" not in line:
+        if line_len > cols:
             report_err("line longer than %d chars" % cols)
 except UnicodeDecodeError, e:
     report_err("UTF-8 decoding error " + str(e))