Skip to content

Commit 068f22f

Browse files
committed
fixup! fix more tests with wrong assumptions
1 parent eee6af8 commit 068f22f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/parallel/test-fs-readfile-pipe-large.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ tmpdir.refresh();
2626
fs.writeFileSync(filename, dataExpected);
2727

2828
const exec = require('child_process').exec;
29-
const cmd = '"$NODE" "$FILE" child < "TMP_FILE"';
29+
const cmd = '"$NODE" "$FILE" child < "$TMP_FILE"';
3030
exec(cmd, { maxBuffer: 1000000, env: {
3131
NODE: process.execPath,
3232
FILE: __filename,

test/parallel/test-fs-readfile-pipe.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const filename = fixtures.path('readfile_pipe_test.txt');
4343
const dataExpected = fs.readFileSync(filename).toString();
4444

4545
const exec = require('child_process').exec;
46-
const cmd = '"$NODE" "$FILE" child < "TMP_FILE"';
46+
const cmd = '"$NODE" "$FILE" child < "$TMP_FILE"';
4747
exec(cmd, {
4848
env: { NODE: process.execPath, FILE: __filename, TMP_FILE: filename }
4949
}, common.mustSucceed((stdout, stderr) => {

test/parallel/test-fs-readfilesync-pipe-large.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ tmpdir.refresh();
2323
fs.writeFileSync(filename, dataExpected);
2424

2525
const exec = require('child_process').exec;
26-
const cmd = '"$NODE" "$FILE" child < "TMP_FILE"';
26+
const cmd = '"$NODE" "$FILE" child < "$TMP_FILE"';
2727
exec(
2828
cmd,
2929
{ maxBuffer: 1000000, env: { NODE: process.execPath, FILE: __filename, TMP_FILE: filename } },

0 commit comments

Comments
 (0)