Browse Source

test: correct spelling of 'childProcess'

Per: https://github.com/joyent/node/pull/8715

Cleans up a minor spelling error in two tests.

PR-URL: https://github.com/nodejs/node/pull/2389
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Roman Reiss <me@silverwind.io>
v4.0.0-rc
muddletoes 10 years ago
committed by Roman Reiss
parent
commit
6fff0f73dc
  1. 4
      test/sequential/test-stdin-from-file.js
  2. 4
      test/sequential/test-stdout-to-file.js

4
test/sequential/test-stdin-from-file.js

@ -2,7 +2,7 @@
var common = require('../common');
var assert = require('assert');
var join = require('path').join;
var childProccess = require('child_process');
var childProcess = require('child_process');
var fs = require('fs');
var stdoutScript = join(common.fixturesDir, 'echo-close-check.js');
@ -32,7 +32,7 @@ try {
fs.writeFileSync(tmpFile, string);
childProccess.exec(cmd, function(err, stdout, stderr) {
childProcess.exec(cmd, function(err, stdout, stderr) {
fs.unlinkSync(tmpFile);
if (err) throw err;

4
test/sequential/test-stdout-to-file.js

@ -2,7 +2,7 @@
var common = require('../common');
var assert = require('assert');
var path = require('path');
var childProccess = require('child_process');
var childProcess = require('child_process');
var fs = require('fs');
var scriptString = path.join(common.fixturesDir, 'print-chars.js');
@ -26,7 +26,7 @@ function test(size, useBuffer, cb) {
common.print(size + ' chars to ' + tmpFile + '...');
childProccess.exec(cmd, function(err) {
childProcess.exec(cmd, function(err) {
if (err) throw err;
console.log('done!');

Loading…
Cancel
Save