Skip to content

Commit 802f99b

Browse files
nodexpertsdevMylesBorins
authored andcommitted
test: change concatenation to template literal
PR-URL: #15916 Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent c5c51eb commit 802f99b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-fs-copyfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ assert.throws(() => {
4242

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

4848
// Copies asynchronously.

0 commit comments

Comments
 (0)