test: simplify regression test for issue773

This commit is contained in:
Ben Heidemann 2021-04-18 13:08:17 +01:00 committed by David Humphrey
parent cef6adfc37
commit 51afeeaf54
1 changed files with 1 additions and 7 deletions

View File

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