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

Side by Side Diff: LayoutTests/fast/js/regexp-bol-expected.txt

Issue 20867002: Remove old tests that have been migrated to the v8 repo. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove unused script-tests as well Created 7 years, 4 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
« no previous file with comments | « LayoutTests/fast/js/regexp-bol.html ('k') | LayoutTests/fast/js/regexp-bol-with-multiline.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Test for beginning of line (BOL or ^) matching
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS s.match(/^notHere/) is null
7 PASS s.match(/^abc/) is ["abc"]
8 PASS s.match(/(^|X)abc/) is ["abc",""]
9 PASS s.match(/^longer|123/) is ["123"]
10 PASS s.match(/(^abc|c)123/) is ["abc123","abc"]
11 PASS s.match(/(c|^abc)123/) is ["abc123","abc"]
12 PASS s.match(/(^ab|abc)123/) is ["abc123","abc"]
13 PASS s.match(/(bc|^abc)([0-9]*)a/) is ["bc789a","bc","789"]
14 PASS /(?:(Y)X)|(X)/.exec("abc") is null
15 PASS /(?:(?:^|Y)X)|(X)/.exec("abc") is null
16 PASS /(?:(?:^|Y)X)|(X)/.exec("abcd") is null
17 PASS /(?:(?:^|Y)X)|(X)/.exec("Xabcd") is ["X",undefined]
18 PASS /(?:(?:^|Y)X)|(X)/.exec("aXbcd") is ["X","X"]
19 PASS /(?:(?:^|Y)X)|(X)/.exec("abXcd") is ["X","X"]
20 PASS /(?:(?:^|Y)X)|(X)/.exec("abcXd") is ["X","X"]
21 PASS /(?:(?:^|Y)X)|(X)/.exec("abcdX") is ["X","X"]
22 PASS /(?:(?:^|Y)X)|(X)/.exec("YXabcd") is ["YX",undefined]
23 PASS /(?:(?:^|Y)X)|(X)/.exec("aYXbcd") is ["YX",undefined]
24 PASS /(?:(?:^|Y)X)|(X)/.exec("abYXcd") is ["YX",undefined]
25 PASS /(?:(?:^|Y)X)|(X)/.exec("abcYXd") is ["YX",undefined]
26 PASS /(?:(?:^|Y)X)|(X)/.exec("abcdYX") is ["YX",undefined]
27 PASS successfullyParsed is true
28
29 TEST COMPLETE
30
OLDNEW
« no previous file with comments | « LayoutTests/fast/js/regexp-bol.html ('k') | LayoutTests/fast/js/regexp-bol-with-multiline.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698