Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: LayoutTests/fast/regex/invalid-range-in-class-expected.txt

Issue 14146002: Remove all generic expected results for which a generic Chromium expected result exists (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 This page tests invalid character ranges in character classes.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS /[a-c]+/.exec("-acbd"); is ["acb"]
7 PASS /[a\-c]+/.exec("-acbd") is ["-ac"]
8 PASS /[c-a]+/.exec("-acbd"); threw exception SyntaxError: Invalid regular expres sion: range out of order in character class.
9 PASS /[\d-x]+/.exec("1-3xy"); is ["1-3x"]
10 PASS /[x-\d]+/.exec("1-3xy"); is ["1-3x"]
11 PASS /[\d-\d]+/.exec("1-3xy"); is ["1-3"]
12 PASS /[\d-a-z]+/.exec("az1-3y"); is ["az1-3"]
13 PASS /[\d\-x]+/.exec("1-3xy"); is ["1-3x"]
14 PASS /[x\-\d]+/.exec("1-3xy"); is ["1-3x"]
15 PASS /[\d\-\d]+/.exec("1-3xy"); is ["1-3"]
16 PASS /[\d-]+/.exec("1-3xy") is ["1-3"]
17 PASS successfullyParsed is true
18
19 TEST COMPLETE
20
OLDNEW
« no previous file with comments | « LayoutTests/fast/regex/cross-frame-callable-expected.txt ('k') | LayoutTests/fast/regex/syntax-errors-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698