| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 324c82b commit 98496b6
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,9 +1,9 @@ | |||
| 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 | - var fixture = path.join(common.fixturesDir, 'x.txt'); | ||
| 7 | + const fixture = path.join(common.fixturesDir, 'x.txt'); | ||
| 8 | 8 | ||
| 9 | - assert.equal('xyz\n', fs.readFileSync(fixture)); | ||
| 9 | + assert.strictEqual(fs.readFileSync(fixture).toString(), 'xyz\n'); | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments