mirror of
https://github.com/nodejs/node.git
synced 2025-05-06 20:08:02 +00:00

change equal to strictEqual and var to const PR-URL: https://github.com/nodejs/node/pull/9941 Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
10 lines
265 B
JavaScript
10 lines
265 B
JavaScript
'use strict';
|
|
const common = require('../common');
|
|
const assert = require('assert');
|
|
const path = require('path');
|
|
const fs = require('fs');
|
|
|
|
const fixture = path.join(common.fixturesDir, 'x.txt');
|
|
|
|
assert.strictEqual(fs.readFileSync(fixture).toString(), 'xyz\n');
|