mirror of
https://github.com/nodejs/node.git
synced 2025-05-06 11:29:26 +00:00

The only test with modifications is `test-stdin-child-proc` that was passing when it should not because the exit code of the child process was not being checked. PR-URL: https://github.com/nodejs/node/pull/6087 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Johan Bergström <bugs@bergstroem.nu> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com>
10 lines
228 B
JavaScript
10 lines
228 B
JavaScript
'use strict';
|
|
require('../common');
|
|
var assert = require('assert');
|
|
var path = require('path');
|
|
var fs = require('fs');
|
|
|
|
var fixture = path.join(__dirname, '../fixtures/x.txt');
|
|
|
|
assert.equal('xyz\n', fs.readFileSync(fixture));
|