diff --git a/lib/fs/__tests__/realpath.test.js b/lib/fs/__tests__/realpath.test.js index 1322b8ea..59ee6fa3 100644 --- a/lib/fs/__tests__/realpath.test.js +++ b/lib/fs/__tests__/realpath.test.js @@ -12,14 +12,14 @@ if (typeof fs.realpath.native === 'function') { it('works with callbacks', () => { fse.realpath.native(__dirname, (err, path) => { assert.ifError(err) - assert.equal(path, __dirname) + assert.strictEqual(path, __dirname) }) }) it('works with promises', (done) => { fse.realpath.native(__dirname) .then(path => { - assert.equal(path, __dirname) + assert.strictEqual(path, __dirname) done() }) .catch(done) @@ -27,7 +27,7 @@ if (typeof fs.realpath.native === 'function') { it('works with sync version', () => { const path = fse.realpathSync.native(__dirname) - assert.equal(path, __dirname) + assert.strictEqual(path, __dirname) }) }) }