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

Side by Side Diff: LayoutTests/fast/regex/script-tests/quantified-assertions.js

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, 5 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 description(
2 "This page tests assertions followed by quantifiers."
3 );
4
5 var regexp;
6
7 regexp = /(?=a){0}/gm;
8 debug("\nTesting regexp: " + regexp);
9 shouldBeTrue("regexp.test('a')");
10 shouldBe("regexp.lastIndex", "0");
11
12 regexp = /(?=a){1}/gm;
13 debug("\nTesting regexp: " + regexp);
14 shouldBeTrue("regexp.test('a')");
15 shouldBe("regexp.lastIndex", "0");
16
17 regexp = /(?!a){0}/gm;
18 debug("\nTesting regexp: " + regexp);
19 shouldBeTrue("regexp.test('b')");
20 shouldBe("regexp.lastIndex", "0");
21
22 regexp = /(?!a){1}/gm;
23 debug("\nTesting regexp: " + regexp);
24 shouldBeTrue("regexp.test('b')");
25 shouldBe("regexp.lastIndex", "0");
26
27 shouldBeTrue('/^(?=a)?b$/.test("b")');
OLDNEW
« no previous file with comments | « LayoutTests/fast/regex/script-tests/pcre-test-4.js ('k') | LayoutTests/fast/regex/script-tests/repeat-match-waldemar.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698