From 4c61fdb5275b7fd8f9f9031f6b43f6f6bcbec8dc Mon Sep 17 00:00:00 2001 From: xeodou Date: Sun, 16 Jul 2017 15:53:50 +0800 Subject: [PATCH] test: replace concatenation with template literals. --- test/parallel/test-path-parse-format.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-path-parse-format.js b/test/parallel/test-path-parse-format.js index b253249472cb08..65cc0c42280128 100644 --- a/test/parallel/test-path-parse-format.js +++ b/test/parallel/test-path-parse-format.js @@ -218,8 +218,8 @@ function checkFormat(path, testCases) { }, common.expectsError({ code: 'ERR_INVALID_ARG_TYPE', type: TypeError, - message: 'The "pathObject" argument must be of type Object. Received ' + - 'type ' + typeName(pathObject) + message: 'The "pathObject" argument must be of type Object. ' + + `Received type ${typeName(pathObject)}` })); }); }