Skip to content

Commit

Permalink
Test tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
es128 committed Mar 29, 2015
1 parent be1d7ce commit 52801a9
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 @@ -850,7 +850,7 @@ function runTests(options) {
});
}));
});
it('should not emit for preexisting dirs when depth=0', function(done) {
it('should not emit for preexisting dirs when depth is 0', function(done) {
var spy = sinon.spy();
var testPath = getFixturePath('add.txt');
fs.mkdirSync(getFixturePath('subdir'), 0x1ed);
Expand Down Expand Up @@ -1020,7 +1020,7 @@ function runTests(options) {
spy.should.have.been.calledWith('addDir', fixturesPath);
spy.should.have.been.calledWith('addDir', getFixturePath('subdir'));
fs.mkdirSync(subdir2, 0x1ed);
waitFor([[addSpy, 3]], dd(function() {
waitFor([[addSpy, 3]], d(function() {
addSpy.should.have.been.calledThrice;
fs.rmdirSync(subdir2);
waitFor([unlinkSpy], dd(function() {
Expand Down

0 comments on commit 52801a9

Please sign in to comment.