From 853814160039c41bd52d374ef7b66456334d3f4c Mon Sep 17 00:00:00 2001 From: Oliver Eyton-Williams Date: Wed, 27 Oct 2021 16:34:37 +0200 Subject: [PATCH] fix: grammar Co-authored-by: Shaun Hamilton --- curriculum/test/utils/extract-js-comments.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/test/utils/extract-js-comments.js b/curriculum/test/utils/extract-js-comments.js index 75ee28f047..2ae99dc7e5 100644 --- a/curriculum/test/utils/extract-js-comments.js +++ b/curriculum/test/utils/extract-js-comments.js @@ -9,7 +9,7 @@ function extractComments(js) { try { parser.parse(js, { onComment: comments, ecmaVersion: 2020 }); } catch { - throw Error(`extract-js-comments could not parse the code below, this challenge have invalid syntax: + throw Error(`extract-js-comments could not parse the code below, this challenge has invalid syntax: ${js} `);