| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 09de714 commit 4a28eac
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,12 +1,12 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | - var common = require('../common'); | ||
| 3 | - var assert = require('assert'); | ||
| 4 | - var path = require('path'); | ||
| 5 | - var fs = require('fs'); | ||
| 2 | + const common = require('../common'); | ||
| 3 | + const assert = require('assert'); | ||
| 4 | + const path = require('path'); | ||
| 5 | + const fs = require('fs'); | ||
| 6 | 6 | ||
| 7 | 7 | // test creating and reading symbolic link | |
| 8 | - var linkData = path.join(common.fixturesDir, 'cycles/'); | ||
| 9 | - var linkPath = path.join(common.tmpDir, 'cycles_link'); | ||
| 8 | + const linkData = path.join(common.fixturesDir, 'cycles/'); | ||
| 9 | + const linkPath = path.join(common.tmpDir, 'cycles_link'); | ||
| 10 | 10 | ||
| 11 | 11 | common.refreshTmpDir(); | |
| 12 | 12 | ||
@@ -22,7 +22,7 @@ fs.symlink(linkData, linkPath, 'junction', common.mustCall(function(err) { | |||
| 22 | 22 | ||
| 23 | 23 | fs.readlink(linkPath, common.mustCall(function(err, destination) { | |
| 24 | 24 | if (err) throw err; | |
| 25 | - assert.equal(destination, linkData); | ||
| 25 | + assert.strictEqual(destination, linkData); | ||
| 26 | 26 | ||
| 27 | 27 | fs.unlink(linkPath, common.mustCall(function(err) { | |
| 28 | 28 | if (err) throw err; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments