test: simplify regression test for issue773
This commit is contained in:
parent
cef6adfc37
commit
51afeeaf54
|
@ -7,12 +7,6 @@ describe('unexpected failures when calling fs functions (e.g. writeFile) with em
|
|||
|
||||
it('should call fs.writeFile with an empty options object', function(done) {
|
||||
const fs = util.fs();
|
||||
fs.writeFile('/a', 'trololol', {}, (err) => {
|
||||
if (err) {
|
||||
done(err);
|
||||
return;
|
||||
}
|
||||
done();
|
||||
});
|
||||
fs.writeFile('/a', 'trololol', {}, done);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue