Skip to content

Commit c8d8e5c

Browse files
michael-zuckerBridgeAR
authored andcommitted
test: fix the arguments order in assert.strictEqual
This change was initiated from the NodeConfEU session. PR-URL: #24227 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 4245cbb commit c8d8e5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-fs-link.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fs.writeFileSync(srcPath, 'hello world');
1515
function callback(err) {
1616
assert.ifError(err);
1717
const dstContent = fs.readFileSync(dstPath, 'utf8');
18-
assert.strictEqual('hello world', dstContent);
18+
assert.strictEqual(dstContent, 'hello world');
1919
}
2020

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

0 commit comments

Comments
 (0)