From 0433023466f0ced82a979b964350fd1682a6340d Mon Sep 17 00:00:00 2001 From: Colin Leong Date: Fri, 6 Oct 2017 10:12:13 -0700 Subject: [PATCH] test: replace string concatenation with templates --- test/parallel/test-whatwg-url-parsing.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-whatwg-url-parsing.js b/test/parallel/test-whatwg-url-parsing.js index df2db4881374fd..00fedbde1b0c62 100644 --- a/test/parallel/test-whatwg-url-parsing.js +++ b/test/parallel/test-whatwg-url-parsing.js @@ -36,7 +36,7 @@ for (const test of failureTests) { return false; // The input could be processed, so we don't do strict matching here - const match = (error + '').match(/Invalid URL: (.*)$/); + const match = (`${error}`).match(/Invalid URL: (.*)$/); if (!match) { return false; }