Skip to content

Commit

Permalink
Remove flaky-looking this/context tests from fs.read callback
Browse files Browse the repository at this point in the history
  • Loading branch information
leei committed Nov 12, 2010
1 parent 27d5db3 commit 541596b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/vows-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,6 @@ vows.describe("Vows").addBatch({
},
'after a successful `fs.read`': function (data) {
assert.match (data, /after a successful `fs.read`/);
},
'should set this to the target of fs.read callback': function(data) {
assert.deepEqual(this, {});
},
'should pass context as extra parameter': function(_, _, _, context) {
assert.equal(context.name, 'after a successful `fs.open`');
}
}
}
Expand Down

0 comments on commit 541596b

Please sign in to comment.