Skip to content

Commit 4c61fdb

Browse files
committed
test: replace concatenation with template literals.
1 parent 5d3609d commit 4c61fdb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
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)