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

Changeset 267696 in webkit


Ignore:
Timestamp:
Sep 28, 2020, 5:25:01 AM (6 years ago)
Author:
commit-queue@webkit.org
Message:

Fix test failures inadventently introduced in r267644
https://bugs.webkit.org/show_bug.cgi?id=217049

Patch by Angelos Oikonomopoulos <Angelos Oikonomopoulos> on 2020-09-28
Reviewed by Adrian Perez de Castro.

r267644 strips trailing whitespace in two LayoutTests/js/*expected.txt files
but doesn't update the corresponding js string literals to not produce such.

  • js/script-tests/parser-syntax-check.js:
  • js/script-tests/regexp-sticky.js:
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r267692 r267696  
     12020-09-28  Angelos Oikonomopoulos  <angelos@igalia.com>
     2
     3        Fix test failures inadventently introduced in r267644
     4        https://bugs.webkit.org/show_bug.cgi?id=217049
     5
     6        Reviewed by Adrian Perez de Castro.
     7
     8        r267644 strips trailing whitespace in two LayoutTests/js/*expected.txt files
     9        but doesn't update the corresponding js string literals to not produce such.
     10        * js/script-tests/parser-syntax-check.js:
     11        * js/script-tests/regexp-sticky.js:
     12
    1132020-09-27  Rob Buis  <rbuis@igalia.com>
    214
  • trunk/LayoutTests/js/script-tests/parser-syntax-check.js

    r266324 r267696  
    697697invalid("1 % ++");
    698698invalid("1 % --");
    699 invalid("1 % \n++");
    700 invalid("1 % \n--");
     699invalid("1 %\n++");
     700invalid("1 %\n--");
    701701invalid('let {w} = (foo-=()), {} = ("a" ^= "b");');
    702702invalid('const {w} = (foo-=()), {} = ("a" ^= "b");');
  • trunk/LayoutTests/js/script-tests/regexp-sticky.js

    r202597 r267696  
    7474testStickyExec("Ignore Case", new RegExp("test", "iy"), "TESTtestTest", 0, ["TEST", "test", "Test", null]);
    7575testStickyExec("Alternates, differing lengths long to short", new RegExp("bb|a", "y"), "a", 0, ["a", null]);
    76 testStickyExec("Alternates, differing lengths long to short with mutliple matches ", new RegExp("abc|ab|a", "y"), "aababcaabcab", 0, ["a", "ab", "abc", "a", "abc", "ab", null]);
     76testStickyExec("Alternates, differing lengths long to short with mutliple matches", new RegExp("abc|ab|a", "y"), "aababcaabcab", 0, ["a", "ab", "abc", "a", "abc", "ab", null]);
    7777testStickyExec("Alternates, differing lengths, short to long", new RegExp("Dog |Cat |Mouse ", "y"), "Mouse Dog Cat ", 0, ["Mouse ", "Dog ", "Cat ", null]);
    7878testStickyExec("BOL Anchored, starting at 0", /^X/y, "XXX", 0, ["X", null]);
Note: See TracChangeset for help on using the changeset viewer.