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