Add missing binding

This commit is contained in:
Mathias Bynens 2022-05-04 12:55:48 +02:00 committed by Philip Chimento
parent a44a97a09a
commit 997888324e
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ function printStringCodePoints(string) {
function testPropertyEscapes(regExp, string, expression) {
if (!regExp.test(string)) {
for (const symbol of string) {
printCodePoint(symbol.codePointAt(0));
const hex = printCodePoint(symbol.codePointAt(0));
assert(
regExp.test(symbol),
`\`${ expression }\` should match U+${ hex } (\`${ symbol }\`)`