From 7365d8843304ea0ec1da4479954c1acaab2bcde0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= Date: Tue, 16 Jun 2020 17:17:50 +0200 Subject: [PATCH] fix typo in error message --- js/tests/test.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/tests/test.mjs b/js/tests/test.mjs index 0164263e..5815103b 100644 --- a/js/tests/test.mjs +++ b/js/tests/test.mjs @@ -46,7 +46,7 @@ const { join } = [] const { split } = '' const stackFmt = (err, url) => { if (!(err instanceof Error)) { - throw Error(`Unexpected type thrown: ${typeof err}. usage: throw Error('my message'))`) + throw Error(`Unexpected type thrown: ${typeof err}. usage: throw Error('my message')`) } String.prototype.split = split Array.prototype.join = join