Corrected Travis CI error for issue 500
This commit is contained in:
parent
307fc3e32c
commit
0352dad66c
|
@ -169,6 +169,15 @@ describe('fs.open', function() {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it('should return an error when flag in invalid', function(done) {
|
||||||
|
var fs = util.fs();
|
||||||
|
|
||||||
|
expect(fs.open('/myfile', 'abcd', function(){
|
||||||
|
done();
|
||||||
|
})).to.throw('flags is not valid');
|
||||||
|
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue