mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Test for carriage returns in tidy.py.
This commit is contained in:
parent
a283f7801b
commit
f65da65426
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue