Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9052a22

Browse filesBrowse files
michael-zuckerMylesBorins
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 d7722dd commit 9052a22
Copy full SHA for 9052a22

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-fs-link.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-fs-link.js
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.