From 2234f0fc4060bfea36061437998d7b0d01319f69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Heine=20n=C3=A9=20Lang?= <mail@adrianheine.de> Date: Tue, 9 Oct 2018 17:29:32 +0200 Subject: [PATCH] Fix syntax in test (#1841) This was introduced in 6581e84949eb0db1a97513098c1413be433419ee. --- test/intl402/Locale/constructor-tag-tostring.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/intl402/Locale/constructor-tag-tostring.js b/test/intl402/Locale/constructor-tag-tostring.js index f1e7ae25d1..b8148e6d36 100644 --- a/test/intl402/Locale/constructor-tag-tostring.js +++ b/test/intl402/Locale/constructor-tag-tostring.js @@ -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`); } -- GitLab