Skip to content

Commit

Permalink
test: change concatenation to template literal
Browse files Browse the repository at this point in the history
PR-URL: #15916
Reviewed-By: Daijiro Wachi <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
nodexpertsdev authored and MylesBorins committed Oct 11, 2017
1 parent c5c51eb commit 802f99b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-fs-copyfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ assert.throws(() => {

// Throws if the source does not exist.
assert.throws(() => {
fs.copyFileSync(src + '__does_not_exist', dest, COPYFILE_EXCL);
fs.copyFileSync(`${src}__does_not_exist`, dest, COPYFILE_EXCL);
}, /^Error: ENOENT: no such file or directory, copyfile/);

// Copies asynchronously.
Expand Down

0 comments on commit 802f99b

Please sign in to comment.