diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-04-30 16:32:47 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-04-30 16:33:45 -0700 |
| commit | 30385022c1a7b265a746acb702e6fd1ee3d0e92f (patch) | |
| tree | 5f0464553102171623b909419b69bde1bcd3ce38 /src | |
| parent | 3f3339e07685769359a175c040307fba0202ca50 (diff) | |
| download | rust-30385022c1a7b265a746acb702e6fd1ee3d0e92f.tar.gz rust-30385022c1a7b265a746acb702e6fd1ee3d0e92f.zip | |
build: No tidy for test files. Closes #2271
Diffstat (limited to 'src')
| -rw-r--r-- | src/etc/tidy.py | 4 |
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)) |
