Index: test/mjsunit/harmony/regexp-property-char-class.js |
diff --git a/test/mjsunit/harmony/regexp-property-char-class.js b/test/mjsunit/harmony/regexp-property-char-class.js |
index 76774cb572e0d88cc4ac127049183712af55a365..6162012dc6d0fb3dbdabca78c395b76506dfc487 100644 |
--- a/test/mjsunit/harmony/regexp-property-char-class.js |
+++ b/test/mjsunit/harmony/regexp-property-char-class.js |
@@ -9,9 +9,6 @@ assertThrows("/[\\p{garbage}]/u"); |
assertThrows("/[\\p{}]/u"); |
assertThrows("/[\\p{]/u"); |
assertThrows("/[\\p}]/u"); |
-assertThrows("/[\\p{Math}]/u"); |
-assertThrows("/[\\p{Bidi_M}]/u"); |
-assertThrows("/[\\p{Hex}]/u"); |
assertTrue(/^[\p{Lu}\p{Ll}]+$/u.test("ABCabc")); |
assertTrue(/^[\p{Lu}-\p{Ll}]+$/u.test("ABC-abc")); |
@@ -19,6 +16,9 @@ assertFalse(/^[\P{Lu}\p{Ll}]+$/u.test("ABCabc")); |
assertTrue(/^[\P{Lu}\p{Ll}]+$/u.test("abc")); |
assertTrue(/^[\P{Lu}]+$/u.test("abc123")); |
assertFalse(/^[\P{Lu}]+$/u.test("XYZ")); |
+assertTrue(/[\p{Math}]/u.test("+")); |
+assertTrue(/[\P{Bidi_M}]/u.test(" ")); |
+assertTrue(/[\p{Hex}]/u.test("A")); |
assertTrue(/^[^\P{Lu}]+$/u.test("XYZ")); |
assertFalse(/^[^\p{Lu}\p{Ll}]+$/u.test("abc")); |