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

Unified Diff: LayoutTests/fast/js/script-tests/regexp-bol.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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/js/script-tests/regexp-bol.js
diff --git a/LayoutTests/fast/js/script-tests/regexp-bol.js b/LayoutTests/fast/js/script-tests/regexp-bol.js
deleted file mode 100644
index 88dd41730b535bdac55dcda8bbb68f8039bfdf04..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/js/script-tests/regexp-bol.js
+++ /dev/null
@@ -1,26 +0,0 @@
-description(
-'Test for beginning of line (BOL or ^) matching</a>'
-);
-
-var s = "abc123def456xyzabc789abc999";
-shouldBeNull('s.match(/^notHere/)');
-shouldBe('s.match(/^abc/)', '["abc"]');
-shouldBe('s.match(/(^|X)abc/)', '["abc",""]');
-shouldBe('s.match(/^longer|123/)', '["123"]');
-shouldBe('s.match(/(^abc|c)123/)', '["abc123","abc"]');
-shouldBe('s.match(/(c|^abc)123/)', '["abc123","abc"]');
-shouldBe('s.match(/(^ab|abc)123/)', '["abc123","abc"]');
-shouldBe('s.match(/(bc|^abc)([0-9]*)a/)', '["bc789a","bc","789"]');
-shouldBeNull('/(?:(Y)X)|(X)/.exec("abc")');
-shouldBeNull('/(?:(?:^|Y)X)|(X)/.exec("abc")');
-shouldBeNull('/(?:(?:^|Y)X)|(X)/.exec("abcd")');
-shouldBe('/(?:(?:^|Y)X)|(X)/.exec("Xabcd")', '["X",undefined]');
-shouldBe('/(?:(?:^|Y)X)|(X)/.exec("aXbcd")', '["X","X"]');
-shouldBe('/(?:(?:^|Y)X)|(X)/.exec("abXcd")', '["X","X"]');
-shouldBe('/(?:(?:^|Y)X)|(X)/.exec("abcXd")', '["X","X"]');
-shouldBe('/(?:(?:^|Y)X)|(X)/.exec("abcdX")', '["X","X"]');
-shouldBe('/(?:(?:^|Y)X)|(X)/.exec("YXabcd")', '["YX",undefined]');
-shouldBe('/(?:(?:^|Y)X)|(X)/.exec("aYXbcd")', '["YX",undefined]');
-shouldBe('/(?:(?:^|Y)X)|(X)/.exec("abYXcd")', '["YX",undefined]');
-shouldBe('/(?:(?:^|Y)X)|(X)/.exec("abcYXd")', '["YX",undefined]');
-shouldBe('/(?:(?:^|Y)X)|(X)/.exec("abcdYX")', '["YX",undefined]');
« no previous file with comments | « LayoutTests/fast/js/script-tests/read-modify-eval.js ('k') | LayoutTests/fast/js/script-tests/regexp-bol-with-multiline.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698