mirror of
https://github.com/tc39/test262.git
synced 2025-07-29 08:54:35 +02:00
Add missing binding
This commit is contained in:
parent
a44a97a09a
commit
997888324e
@ -51,7 +51,7 @@ function printStringCodePoints(string) {
|
|||||||
function testPropertyEscapes(regExp, string, expression) {
|
function testPropertyEscapes(regExp, string, expression) {
|
||||||
if (!regExp.test(string)) {
|
if (!regExp.test(string)) {
|
||||||
for (const symbol of string) {
|
for (const symbol of string) {
|
||||||
printCodePoint(symbol.codePointAt(0));
|
const hex = printCodePoint(symbol.codePointAt(0));
|
||||||
assert(
|
assert(
|
||||||
regExp.test(symbol),
|
regExp.test(symbol),
|
||||||
`\`${ expression }\` should match U+${ hex } (\`${ symbol }\`)`
|
`\`${ expression }\` should match U+${ hex } (\`${ symbol }\`)`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user