Showing with 2 additions and 2 deletions.
  1. +2 −2 test/simple/test-child-process-execsync.js
@@ -55,8 +55,9 @@ assert.throws(function() {
}, /Command failed: iamabadcommand/);

var msg = 'foobar';
var msgBuf = new Buffer(msg + os.EOL);
var msgBuf = new Buffer(msg + '\n');

// console.log ends every line with just '\n', even on Windows.
cmd = util.format('%s -e "console.log(\'%s\');"', process.execPath, msg);

var ret = execSync(cmd);
@@ -66,7 +67,6 @@ assert.deepEqual(ret, msgBuf, 'execSync result buffer should match');

ret = execSync(cmd, { encoding: 'utf8' });

// it's not actually os.EOL on windows?
assert.strictEqual(ret, msg + '\n', 'execSync encoding result should match');

var args = [