Skip to content

Commit

Permalink
test: replace string concatenation with templates
Browse files Browse the repository at this point in the history
  • Loading branch information
cleong-tc authored and joyeecheung committed Oct 8, 2017
1 parent 5ca1c7a commit 0433023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-whatwg-url-parsing.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0433023

Please sign in to comment.