diff options
author | Ms2ger <ms2ger@gmail.com> | 2014-07-11 13:19:01 +0200 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2014-07-11 13:21:22 +0200 |
commit | f65da65426f62d428964a27447ac07449f9ac513 (patch) | |
tree | d570afe5b0c085ac26318215bd85388d34d7f994 | |
parent | a283f7801bca551836ac4fd21c56e1245a5fd0f8 (diff) | |
download | servo-f65da65426f62d428964a27447ac07449f9ac513.tar.gz servo-f65da65426f62d428964a27447ac07449f9ac513.zip |
Test for carriage returns in tidy.py.
-rw-r--r-- | src/etc/tidy.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/etc/tidy.py b/src/etc/tidy.py index 1b25095da35..d529bfd5f8b 100644 --- a/src/etc/tidy.py +++ b/src/etc/tidy.py @@ -40,6 +40,9 @@ def do_whitespace_check(name, contents): if '\t' in line: report_error_name_no(name, idx + 1, "tab on line") + if '\r' in line: + report_error_name_no(name, idx + 1, "CR on line") + exceptions = [ # Upstream |