From a293489f90a4f84a47a7c10379b3329216640706 Mon Sep 17 00:00:00 2001 From: mzucker Date: Wed, 7 Nov 2018 15:21:37 +0000 Subject: [PATCH] test: fixed the arguments order in `assert.strictEqual` This change was initiated from the NodeConfEU session. --- test/parallel/test-fs-link.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-fs-link.js b/test/parallel/test-fs-link.js index d007f4e985b2d5..9b95fc3e026140 100644 --- a/test/parallel/test-fs-link.js +++ b/test/parallel/test-fs-link.js @@ -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));