Index: test/mjsunit/harmony/regexp-property-binary.js |
diff --git a/test/mjsunit/harmony/regexp-property-binary.js b/test/mjsunit/harmony/regexp-property-binary.js |
index c0b4426d5e34d093cfaf19228bbeca9c104773cd..54d93048e1516f3a2d7245f94af70079b921d7b7 100644 |
--- a/test/mjsunit/harmony/regexp-property-binary.js |
+++ b/test/mjsunit/harmony/regexp-property-binary.js |
@@ -17,6 +17,15 @@ t(/\p{Uppercase}+/u, "V"); |
f(/\p{Lower}+/u, "U"); |
t(/\p{Ideo}+/u, "字"); |
f(/\p{Ideo}+/u, "x"); |
+t(/\p{Noncharacter_Code_Point}+/u, "\uFDD0"); |
+t(/\p{Default_Ignorable_Code_Point}+/u, "\u00AD"); |
+t(/\p{ASCII}+/u, "a"); |
+t(/\p{ID_Start}+/u, "a"); |
jgruber
2017/04/07 12:44:51
Nice! Maybe a couple of negative tests?
f(/\p{ASC
|
+t(/\p{ID_Continue}+/u, "1"); |
+t(/\p{Join_Control}+/u, "\u200c"); |
+t(/\p{Emoji_Presentation}+/u, "\u{1F308}"); |
+t(/\p{Emoji_Modifier}+/u, "\u{1F3FE}"); |
+t(/\p{Emoji_Modifier_Base}+/u, "\u{1F6CC}"); |
assertThrows("/\\p{Hiragana}/u"); |
assertThrows("/\\p{Bidi_Class}/u"); |