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

Side by Side Diff: LayoutTests/fast/regex/script-tests/repeat-match-waldemar.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 "Some test cases identified by Waldemar Horwat in response to this bug: https:// bugs.webkit.org/show_bug.cgi?id=48101"
3 );
4
5 shouldBe('/(?:a*?){2,}/.exec("aa")', '["aa"]');
6 shouldBe('/(?:a*?){2,}/.exec("a")', '["a"]');
7 shouldBe('/(?:a*?){2,}/.exec("")', '[""]');
8
9 shouldBe('/(?:a*?)/.exec("aa")', '[""]');
10 shouldBe('/(?:a*?)/.exec("a")', '[""]');
11 shouldBe('/(?:a*?)/.exec("")', '[""]');
12
13 shouldBe('/(?:a*?)(?:a*?)(?:a*?)/.exec("aa")', '[""]');
14 shouldBe('/(?:a*?)(?:a*?)(?:a*?)/.exec("a")', '[""]');
15 shouldBe('/(?:a*?)(?:a*?)(?:a*?)/.exec("")', '[""]');
16
17 shouldBe('/(?:a*?){2}/.exec("aa")', '[""]');
18 shouldBe('/(?:a*?){2}/.exec("a")', '[""]');
19 shouldBe('/(?:a*?){2}/.exec("")', '[""]');
20
21 shouldBe('/(?:a*?){2,3}/.exec("aa")', '["a"]');
22 shouldBe('/(?:a*?){2,3}/.exec("a")', '["a"]');
23 shouldBe('/(?:a*?){2,3}/.exec("")', '[""]');
24
25 shouldBe('/(?:a*?)?/.exec("aa")', '["a"]');
26 shouldBe('/(?:a*?)?/.exec("a")', '["a"]');
27 shouldBe('/(?:a*?)?/.exec("")', '[""]');
28
29 shouldBe('/(?:a*?)*/.exec("aa")', '["aa"]');
30 shouldBe('/(?:a*?)*/.exec("a")', '["a"]');
31 shouldBe('/(?:a*?)*/.exec("")', '[""]');
OLDNEW
« no previous file with comments | « LayoutTests/fast/regex/script-tests/quantified-assertions.js ('k') | LayoutTests/fast/regex/script-tests/toString.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698