mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
315 B
13 lines
315 B
14 years ago
|
var common = require('../common');
|
||
|
var assert = require('assert');
|
||
|
var path = require('path');
|
||
|
var fs = require('fs');
|
||
15 years ago
|
|
||
14 years ago
|
var fn = path.join(common.fixturesDir, 'elipses.txt');
|
||
15 years ago
|
|
||
|
var s = fs.readFileSync(fn, 'utf8');
|
||
|
for (var i = 0; i < s.length; i++) {
|
||
14 years ago
|
assert.equal('\u2026', s[i]);
|
||
15 years ago
|
}
|
||
|
assert.equal(10000, s.length);
|