Fix syntax in test (#1841)

This was introduced in 6581e84949.
This commit is contained in:
Adrian Heine né Lang 2018-10-09 17:29:32 +02:00 committed by Leo Balter
parent c0f6c8a0a0
commit 2234f0fc40
1 changed files with 1 additions and 1 deletions

View File

@ -33,6 +33,6 @@ const errors = [
for (const input of errors) {
assert.throws(CustomError, function() {
new Intl.Locale(input);
}),
},
`new Intl.Locale(${input}) throws CustomError`);
}