Skip to content

Commit

Permalink
[JsConf Code & Learn]test: replace string concatenation with template
Browse files Browse the repository at this point in the history
literals
  • Loading branch information
nathansmile committed Jul 19, 2017
1 parent aa496f4 commit b035417
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/parallel/test-icu-data-dir.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'use strict';
const common = require('../common');
const os = require('os');
if (!(common.hasIntl && common.hasSmallICU))
common.skip('missing Intl');

Expand All @@ -8,7 +9,7 @@ const { spawnSync } = require('child_process');

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

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

0 comments on commit b035417

Please sign in to comment.