Corrected Travis CI error for issue 500

This commit is contained in:
Mera-Gangapersaud 2018-09-24 18:18:31 -04:00 committed by David Humphrey
parent 307fc3e32c
commit 0352dad66c
1 changed files with 9 additions and 0 deletions

View File

@ -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');
});
}); });
/** /**