Permalink
Browse files

Use `close` event and drop 0.8

  • Loading branch information...
1 parent 6783351 commit c3bf26dc30d258d36ce4bd4cc98d4b4fd8252544 @mmalecki committed Oct 9, 2014
Showing with 1 addition and 2 deletions.
  1. +0 −1 .travis.yml
  2. +1 −1 test/spawn-command-test.js
View
@@ -1,5 +1,4 @@
language: node_js
node_js:
- - 0.8
- "0.10"
- "0.11"
@@ -19,7 +19,7 @@ child.stderr.on('data', function (chunk) {
stderr += chunk;
});
-child.on('exit', assertCalled(function (exitCode) {
+child.on('close', assertCalled(function (exitCode) {
assert.equal(exitCode, 0);
assert.equal(stdout, 'commit 26b11915b1c16440468a4b5f4b07d2409b98c68c' + newln);
assert.equal(stderr, '');

0 comments on commit c3bf26d

Please sign in to comment.