We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23e7bc2 commit 0c61e39Copy full SHA for 0c61e39
test/parallel/test-whatwg-url-parsing.js
@@ -36,7 +36,7 @@ for (const test of failureTests) {
36
return false;
37
38
// The input could be processed, so we don't do strict matching here
39
- const match = (error + '').match(/Invalid URL: (.*)$/);
+ const match = (`${error}`).match(/Invalid URL: (.*)$/);
40
if (!match) {
41
42
}
0 commit comments