Skip to content

Commit 3566195

Browse files
xeodouTrott
authored andcommitted
test: replace concatenation with template literals
PR-URL: #14281 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent b1355ba commit 3566195

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-path-parse-format.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ function checkFormat(path, testCases) {
218218
}, common.expectsError({
219219
code: 'ERR_INVALID_ARG_TYPE',
220220
type: TypeError,
221-
message: 'The "pathObject" argument must be of type Object. Received ' +
222-
'type ' + typeName(pathObject)
221+
message: 'The "pathObject" argument must be of type Object. ' +
222+
`Received type ${typeName(pathObject)}`
223223
}));
224224
});
225225
}

0 commit comments

Comments
 (0)