mirror of
https://github.com/tc39/test262.git
synced 2025-07-31 01:44:54 +02:00
Fix syntax in test (#1841)
This was introduced in 6581e84949eb0db1a97513098c1413be433419ee.
This commit is contained in:
parent
c0f6c8a0a0
commit
2234f0fc40
@ -33,6 +33,6 @@ const errors = [
|
|||||||
for (const input of errors) {
|
for (const input of errors) {
|
||||||
assert.throws(CustomError, function() {
|
assert.throws(CustomError, function() {
|
||||||
new Intl.Locale(input);
|
new Intl.Locale(input);
|
||||||
}),
|
},
|
||||||
`new Intl.Locale(${input}) throws CustomError`);
|
`new Intl.Locale(${input}) throws CustomError`);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user