Skip to content

Commit d564e29

Browse files
committed
[JsConf Code & Learn]test: replace string concatenation with template
literals
1 parent c3cb0ed commit d564e29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-icu-data-dir.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const { spawnSync } = require('child_process');
88

99
const expected =
1010
'could not initialize ICU (check NODE_ICU_DATA or ' +
11-
'--icu-data-dir parameters)' + (common.isWindows ? '\r\n' : '\n');
11+
`--icu-data-dir parameters)${common.isWindows ? '\r\n' : '\n'}`;
1212

1313
{
1414
const child = spawnSync(process.execPath, ['--icu-data-dir=/', '-e', '0']);

0 commit comments

Comments
 (0)