Skip to content

Commit

Permalink
Fix careless mistake on test tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
es128 committed Jul 29, 2015
1 parent ab80b1c commit 5bd9227
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1250,7 +1250,6 @@ function runTests(options) {
.on('ready', d(function() {
watcher.unwatch([getFixturePath('subdir'), getFixturePath('unl*')]);
d(function() {
})();
fs.writeFileSync(getFixturePath('subdir/add.txt'), 'c');
fs.writeFileSync(getFixturePath('change.txt'), 'c');
fs.unlinkSync(getFixturePath('unlink.txt'));
Expand All @@ -1261,7 +1260,8 @@ function runTests(options) {
if (!osXFsWatch) spy.should.have.been.calledOnce;
done();
});
}, true));
})();
}));
});
it('should unwatch relative paths', function(done) {
var spy = sinon.spy();
Expand Down

0 comments on commit 5bd9227

Please sign in to comment.