diff options
Diffstat (limited to 'js/src/tests/test262/built-ins/RegExp/property-escapes/generated/Script_-_Yezidi.js')
-rw-r--r-- | js/src/tests/test262/built-ins/RegExp/property-escapes/generated/Script_-_Yezidi.js | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/js/src/tests/test262/built-ins/RegExp/property-escapes/generated/Script_-_Yezidi.js b/js/src/tests/test262/built-ins/RegExp/property-escapes/generated/Script_-_Yezidi.js new file mode 100644 index 0000000000..7462f9fc92 --- /dev/null +++ b/js/src/tests/test262/built-ins/RegExp/property-escapes/generated/Script_-_Yezidi.js @@ -0,0 +1,78 @@ +// Copyright 2022 Mathias Bynens. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +author: Mathias Bynens +description: > + Unicode property escapes for `Script=Yezidi` +info: | + Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests + Unicode v15.0.0 +esid: sec-static-semantics-unicodematchproperty-p +features: [regexp-unicode-property-escapes] +includes: [regExpUtils.js] +---*/ + +const matchSymbols = buildString({ + loneCodePoints: [], + ranges: [ + [0x010E80, 0x010EA9], + [0x010EAB, 0x010EAD], + [0x010EB0, 0x010EB1] + ] +}); +testPropertyEscapes( + /^\p{Script=Yezidi}+$/u, + matchSymbols, + "\\p{Script=Yezidi}" +); +testPropertyEscapes( + /^\p{Script=Yezi}+$/u, + matchSymbols, + "\\p{Script=Yezi}" +); +testPropertyEscapes( + /^\p{sc=Yezidi}+$/u, + matchSymbols, + "\\p{sc=Yezidi}" +); +testPropertyEscapes( + /^\p{sc=Yezi}+$/u, + matchSymbols, + "\\p{sc=Yezi}" +); + +const nonMatchSymbols = buildString({ + loneCodePoints: [ + 0x010EAA + ], + ranges: [ + [0x00DC00, 0x00DFFF], + [0x000000, 0x00DBFF], + [0x00E000, 0x010E7F], + [0x010EAE, 0x010EAF], + [0x010EB2, 0x10FFFF] + ] +}); +testPropertyEscapes( + /^\P{Script=Yezidi}+$/u, + nonMatchSymbols, + "\\P{Script=Yezidi}" +); +testPropertyEscapes( + /^\P{Script=Yezi}+$/u, + nonMatchSymbols, + "\\P{Script=Yezi}" +); +testPropertyEscapes( + /^\P{sc=Yezidi}+$/u, + nonMatchSymbols, + "\\P{sc=Yezidi}" +); +testPropertyEscapes( + /^\P{sc=Yezi}+$/u, + nonMatchSymbols, + "\\P{sc=Yezi}" +); + +reportCompare(0, 0); |