2015-05-19 13:00:06 +02:00
|
|
|
'use strict';
|
2016-12-01 12:20:25 -05:00
|
|
|
const common = require('../common');
|
|
|
|
const assert = require('assert');
|
|
|
|
const path = require('path');
|
|
|
|
const fs = require('fs');
|
2010-05-29 13:38:00 -07:00
|
|
|
|
2016-12-01 12:20:25 -05:00
|
|
|
const fn = path.join(common.fixturesDir, 'elipses.txt');
|
2010-05-29 13:38:00 -07:00
|
|
|
|
2016-12-01 12:20:25 -05:00
|
|
|
const s = fs.readFileSync(fn, 'utf8');
|
|
|
|
for (let i = 0; i < s.length; i++) {
|
|
|
|
assert.strictEqual('\u2026', s[i]);
|
2010-05-29 13:38:00 -07:00
|
|
|
}
|
2016-12-01 12:20:25 -05:00
|
|
|
assert.strictEqual(10000, s.length);
|