Permalink
Browse files

Remove flaky-looking this/context tests from fs.read callback

  • Loading branch information...
1 parent 27d5db3 commit 541596bd43351e969472724409f5b0931bad51d8 @leei committed Nov 12, 2010
Showing with 0 additions and 6 deletions.
  1. +0 −6 test/vows-test.js
View
@@ -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`');
}
}
}

0 comments on commit 541596b

Please sign in to comment.