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

Unified Diff: LayoutTests/fast/js/script-tests/regexp-lastindex.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-lastindex.js
diff --git a/LayoutTests/fast/js/script-tests/regexp-lastindex.js b/LayoutTests/fast/js/script-tests/regexp-lastindex.js
deleted file mode 100644
index 88f6c00b0b6b4515ad300dac4965543679b5d5f5..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/js/script-tests/regexp-lastindex.js
+++ /dev/null
@@ -1,12 +0,0 @@
-description(
-'Test for regression against <a href="https://bugs.webkit.org/show_bug.cgi?id=5602">REGRESSION: RegExp("[^\\s$]+", "g") returns extra matches</a>'
-);
-
-var re = new RegExp("[^\\s$]+", "g");
-var accumulate = "";
-var match;
-shouldBe('while (match = re.exec(" abcdefg")) accumulate += match + "; "; accumulate', '"abcdefg; "');
-
-var re = new RegExp(/\d/g);
-accumulate = "";
-shouldBe('while (match = re.exec("123456789")) accumulate += match + "; "; accumulate', '"1; 2; 3; 4; 5; 6; 7; 8; 9; "');

Powered by Google App Engine
This is Rietveld 408576698