⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 267668 in webkit


Ignore:
Timestamp:
Sep 27, 2020, 11:48:00 AM (6 years ago)
Author:
Darin Adler
Message:

Remove run-webkit-tests code that strips trailing spaces when comparing expected.txt files
https://bugs.webkit.org/show_bug.cgi?id=217041

Reviewed by Sam Weinig.

  • Scripts/webkitpy/port/base.py:

(Port.do_text_results_differ): Removed code to strip the expected text before comparing.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r267640 r267668  
     12020-09-27  Darin Adler  <darin@apple.com>
     2
     3        Remove run-webkit-tests code that strips trailing spaces when comparing expected.txt files
     4        https://bugs.webkit.org/show_bug.cgi?id=217041
     5
     6        Reviewed by Sam Weinig.
     7
     8        * Scripts/webkitpy/port/base.py:
     9        (Port.do_text_results_differ): Removed code to strip the expected text before comparing.
     10
    1112020-09-25  Darin Adler  <darin@apple.com>
    212
  • trunk/Tools/Scripts/webkitpy/port/base.py

    r267640 r267668  
    301301
    302302    def do_text_results_differ(self, expected_text, actual_text):
    303         # Ignore trailing spaces in expected files. We will remove this code after removing trailing spaces from all expected.txt files.
    304         if not expected_text.startswith("<?xml"):
    305             expected_text = re.compile(" +$", re.MULTILINE).sub("", expected_text)
    306303        return expected_text != actual_text
    307304
Note: See TracChangeset for help on using the changeset viewer.