Skip to content

Commit

Permalink
test: fix the arguments order in assert.strictEqual
Browse files Browse the repository at this point in the history
This change was initiated from the NodeConfEU session.

PR-URL: #24227
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
michael-zucker authored and Trott committed Nov 10, 2018
1 parent 87d0aa8 commit 6727f1c
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 6727f1c

Please sign in to comment.