Permalink
Browse files

Fix #124 test for compatibility with node v0.8.x

  • Loading branch information...
1 parent ff1755e commit 52b9afd8df69038bddea87192a01b979683bd1ff @tonyskn tonyskn committed Nov 10, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/test_intercept.js
View
@@ -1707,7 +1707,6 @@ test("persist reply with file", function(t) {
t.equal(res.statusCode, 200);
res.on('end', function() {
t.ok(dataCalled);
- t.end();
});
res.on('data', function(data) {
dataCalled = true;
@@ -1717,6 +1716,7 @@ test("persist reply with file", function(t) {
});
req.end();
}
+ t.end();
});

0 comments on commit 52b9afd

Please sign in to comment.