Skip to content

Commit

Permalink
Fix new assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
es128 committed Jan 16, 2015
1 parent db1924e commit 7de7615
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.js
Expand Up @@ -402,8 +402,8 @@ function runTests (options) {
fs.unlinkSync(getFixturePath('subdir/subsub/ab.txt'));
fs.rmdirSync(getFixturePath('subdir/subsub'));
spy.withArgs('add').should.have.been.calledThrice;
spy.withArgs('unlink').should.have.been.calledWith(getFixturePath('subdir/a.txt'));
spy.withArgs('change').should.have.been.calledWith(getFixturePath('subdir/subsub/ab.txt'));
spy.withArgs('unlink').should.have.been.calledWith('unlink', getFixturePath('subdir/a.txt'));
spy.withArgs('change').should.have.been.calledWith('change', getFixturePath('subdir/subsub/ab.txt'));
if (!osXFsWatch) spy.withArgs('unlink').should.have.been.calledOnce;
if (!osXFsWatch) spy.withArgs('change').should.have.been.calledOnce;
done();
Expand Down

0 comments on commit 7de7615

Please sign in to comment.