mirror of https://github.com/tc39/test262.git
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…
Reference in New Issue