Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: fixed the arguments order in assert.strictEqual
This change was initiated from the NodeConfEU session.
  • Loading branch information
michael-zucker committed Nov 7, 2018
commit a293489f90a4f84a47a7c10379b3329216640706
2 changes: 1 addition & 1 deletion test/parallel/test-fs-link.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ fs.writeFileSync(srcPath, 'hello world');
function callback(err) {
assert.ifError(err);
const dstContent = fs.readFileSync(dstPath, 'utf8');
assert.strictEqual('hello world', dstContent);
assert.strictEqual(dstContent, 'hello world');
}

fs.link(srcPath, dstPath, common.mustCall(callback));
Expand Down