mirror of
https://github.com/nodejs/node.git
synced 2025-05-05 19:08:17 +00:00

PR-URL: https://github.com/nodejs/node/pull/10001 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
14 lines
353 B
JavaScript
14 lines
353 B
JavaScript
'use strict';
|
|
const common = require('../common');
|
|
const assert = require('assert');
|
|
const path = require('path');
|
|
const fs = require('fs');
|
|
|
|
const fn = path.join(common.fixturesDir, 'elipses.txt');
|
|
|
|
const s = fs.readFileSync(fn, 'utf8');
|
|
for (let i = 0; i < s.length; i++) {
|
|
assert.strictEqual('\u2026', s[i]);
|
|
}
|
|
assert.strictEqual(10000, s.length);
|