Browse Source

Forgot to add child_process_should_emit_error.js

v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
d7762dffe3
  1. 9
      test/fixtures/child_process_should_emit_error.js

9
test/fixtures/child_process_should_emit_error.js

@ -0,0 +1,9 @@
var exec = require('child_process').exec,
puts = require('sys').puts;
[0, 1].forEach(function(i) {
exec('ls', function(err, stdout, stderr) {
puts(i);
throw new Error('hello world');
});
});
Loading…
Cancel
Save