aboutsummaryrefslogtreecommitdiff
path: root/test/parallel/test-fs-link.js
diff options
context:
space:
mode:
authormzucker <michaeljzucker@gmail.com>2018-11-07 15:21:37 +0000
committerRich Trott <rtrott@gmail.com>2018-11-09 20:46:57 -0800
commit6727f1c787c721747122a14941cf67fa4a574d45 (patch)
treede5e6a50e895d3150c0e0a251518b7f187e74ab6 /test/parallel/test-fs-link.js
parent87d0aa8686be2f22af55227ff573f9b933436fd2 (diff)
downloadandroid-node-v8-6727f1c787c721747122a14941cf67fa4a574d45.tar.gz
android-node-v8-6727f1c787c721747122a14941cf67fa4a574d45.tar.bz2
android-node-v8-6727f1c787c721747122a14941cf67fa4a574d45.zip
test: fix the arguments order in `assert.strictEqual`
This change was initiated from the NodeConfEU session. PR-URL: https://github.com/nodejs/node/pull/24227 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'test/parallel/test-fs-link.js')
-rw-r--r--test/parallel/test-fs-link.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-fs-link.js b/test/parallel/test-fs-link.js
index d007f4e985..9b95fc3e02 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));