Skip to content

Commit

Permalink
test: correct spelling of 'childProcess'
Browse files Browse the repository at this point in the history
Per: nodejs/node-v0.x-archive#8715

Cleans up a minor spelling error in two tests.

PR-URL: #2389
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Roman Reiss <me@silverwind.io>
  • Loading branch information
muddletoes authored and silverwind committed Aug 17, 2015
1 parent 1a3b295 commit 6fff0f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/sequential/test-stdin-from-file.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions test/sequential/test-stdout-to-file.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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!');
Expand Down

0 comments on commit 6fff0f7

Please sign in to comment.