Skip to content
Closed
Prev Previous commit
Next Next commit
test: remove string literal arg from assertion
Remove unnecessary string literal from assert.deepStrictEqual() call.
  • Loading branch information
Trott committed Sep 13, 2018
commit 798a6dd7e338c264d57649dbd4b04710d74a49ff
2 changes: 1 addition & 1 deletion test/parallel/test-fs-readfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ for (const e of fileInfo) {
fs.readFile(e.name, common.mustCall((err, buf) => {
console.log(`Validating readFile on file ${e.name} of length ${e.len}`);
assert.ifError(err);
assert.deepStrictEqual(buf, e.contents, 'Incorrect file contents');
assert.deepStrictEqual(buf, e.contents);
}));
}