Index: test/mjsunit/harmony/regexp-property-exact-match.js |
diff --git a/test/mjsunit/harmony/regexp-property-exact-match.js b/test/mjsunit/harmony/regexp-property-exact-match.js |
index 4dfcc5f96e232ff4e3ad21052a7eadeb5f7be490..fe233f28d62c71855cf48d63796cd3c24f7ea32f 100644 |
--- a/test/mjsunit/harmony/regexp-property-exact-match.js |
+++ b/test/mjsunit/harmony/regexp-property-exact-match.js |
@@ -6,12 +6,12 @@ |
assertThrows("/\\p{In CJK}/u"); |
assertThrows("/\\p{InCJKUnifiedIdeographs}/u"); |
-assertDoesNotThrow("/\\p{InCJK}/u"); |
-assertDoesNotThrow("/\\p{InCJK_Unified_Ideographs}/u"); |
+assertThrows("/\\p{InCJK}/u"); |
+assertThrows("/\\p{InCJK_Unified_Ideographs}/u"); |
-assertDoesNotThrow("/\\p{InCyrillic_Sup}/u"); |
-assertDoesNotThrow("/\\p{InCyrillic_Supplement}/u"); |
-assertDoesNotThrow("/\\p{InCyrillic_Supplementary}/u"); |
Dan Ehrenberg
2016/04/07 22:13:25
For these tests which are changing from assertDoes
|
+assertThrows("/\\p{InCyrillic_Sup}/u"); |
+assertThrows("/\\p{InCyrillic_Supplement}/u"); |
+assertThrows("/\\p{InCyrillic_Supplementary}/u"); |
assertThrows("/\\p{InCyrillicSupplementary}/u"); |
assertThrows("/\\p{InCyrillic_supplementary}/u"); |
@@ -25,9 +25,18 @@ assertDoesNotThrow("/\\p{Mark}/u"); |
assertDoesNotThrow("/\\p{Combining_Mark}/u"); |
assertThrows("/\\p{Combining Mark}/u"); |
-assertDoesNotThrow("/\\p{Copt}/u"); |
-assertDoesNotThrow("/\\p{Coptic}/u"); |
-assertDoesNotThrow("/\\p{Qaac}/u"); |
-assertDoesNotThrow("/\\p{Egyp}/u"); |
-assertDoesNotThrow("/\\p{Egyptian_Hieroglyphs}/u"); |
+assertDoesNotThrow("/\\p{Script=Copt}/u"); |
+assertThrows("/\\p{Coptic}/u"); |
+assertThrows("/\\p{Qaac}/u"); |
+assertThrows("/\\p{Egyp}/u"); |
+assertDoesNotThrow("/\\p{Script=Egyptian_Hieroglyphs}/u"); |
assertThrows("/\\p{EgyptianHieroglyphs}/u"); |
+ |
+assertThrows("/\\p{BidiClass=LeftToRight}/u"); |
+assertThrows("/\\p{BidiC=LeftToRight}/u"); |
+assertThrows("/\\p{bidi_c=Left_To_Right}/u"); |
+ |
+assertDoesNotThrow("/\\p{Block=CJK}/u"); |
+assertThrows("/\\p{Block = CJK}/u"); |
+assertThrows("/\\p{Block=cjk}/u"); |
+assertThrows("/\\p{BLK=CJK}/u"); |