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) {
|
it('should call fs.writeFile with an empty options object', function(done) {
|
||||||
const fs = util.fs();
|
const fs = util.fs();
|
||||||
fs.writeFile('/a', 'trololol', {}, (err) => {
|
fs.writeFile('/a', 'trololol', {}, done);
|
||||||
if (err) {
|
|
||||||
done(err);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
done();
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue