Skip to content

Commit 5316334

Browse files
Trotttargos
authored andcommitted
test: remove string literal arg from assertion
Remove unnecessary string literal from assert.deepStrictEqual() call. Backport-PR-URL: #22912 PR-URL: #22849 Reviewed-By: Teddy Katz <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 59b6968 commit 5316334

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-fs-readfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ for (const e of fileInfo) {
5454
fs.readFile(e.name, common.mustCall((err, buf) => {
5555
console.log(`Validating readFile on file ${e.name} of length ${e.len}`);
5656
assert.ifError(err);
57-
assert.deepStrictEqual(buf, e.contents, 'Incorrect file contents');
57+
assert.deepStrictEqual(buf, e.contents);
5858
}));
5959
}

0 commit comments

Comments
 (0)