summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--webkit/tools/layout_tests/test_types/text_diff.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/tools/layout_tests/test_types/text_diff.py b/webkit/tools/layout_tests/test_types/text_diff.py
index 97e11b3..cf3c6c4 100644
--- a/webkit/tools/layout_tests/test_types/text_diff.py
+++ b/webkit/tools/layout_tests/test_types/text_diff.py
@@ -43,7 +43,7 @@ class TestTextDiff(test_type_base.TestTypeBase):
return expected
# Normalize line endings
- return expected.strip("\r\n") + "\n"
+ return expected.strip("\r\n").replace("\r\n", "\n") + "\n"
def CompareOutput(self, filename, proc, output, test_args):
"""Implementation of CompareOutput that checks the output text against the