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

Unified Diff: LayoutTests/fast/regex/script-tests/malformed-escapes.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/regex/script-tests/malformed-escapes.js
diff --git a/LayoutTests/fast/regex/script-tests/malformed-escapes.js b/LayoutTests/fast/regex/script-tests/malformed-escapes.js
deleted file mode 100644
index 3643d01c8fbd321496a1fe7f4eda23785a5eeada..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/regex/script-tests/malformed-escapes.js
+++ /dev/null
@@ -1,47 +0,0 @@
-description(
-"This page tests handling of malformed escape sequences."
-);
-
-var regexp;
-
-regexp = /\ug/gm;
-debug("\nTesting regexp: " + regexp);
-shouldBeTrue("regexp.test('ug')");
-shouldBe("regexp.lastIndex", "2");
-
-regexp = /\xg/gm;
-debug("\nTesting regexp: " + regexp);
-shouldBeTrue("regexp.test('xg')");
-shouldBe("regexp.lastIndex", "2");
-
-regexp = /\c_/gm;
-debug("\nTesting regexp: " + regexp);
-shouldBeTrue("regexp.test('\\\\c_')");
-shouldBe("regexp.lastIndex", "3");
-
-regexp = /[\B]/gm;
-debug("\nTesting regexp: " + regexp);
-shouldBeTrue("regexp.test('B')");
-shouldBe("regexp.lastIndex", "1");
-
-regexp = /[\b]/gm;
-debug("\nTesting regexp: " + regexp);
-shouldBeTrue("regexp.test('\\b')");
-shouldBe("regexp.lastIndex", "1");
-
-regexp = /\8/gm;
-debug("\nTesting regexp: " + regexp);
-shouldBeTrue("regexp.test('\\\\8')");
-shouldBe("regexp.lastIndex", "2");
-
-regexp = /^[\c]$/;
-debug("\nTesting regexp: " + regexp);
-shouldBeTrue("regexp.test('c')");
-
-regexp = /^[\c_]$/;
-debug("\nTesting regexp: " + regexp);
-shouldBeFalse("regexp.test('c')");
-
-regexp = /^[\c]]$/;
-debug("\nTesting regexp: " + regexp);
-shouldBeTrue("regexp.test('c]')");
« no previous file with comments | « LayoutTests/fast/regex/script-tests/lastIndex.js ('k') | LayoutTests/fast/regex/script-tests/non-capturing-backtracking.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698