diff options
Diffstat (limited to 'test/simple/test-fs-read-stream.js')
-rw-r--r-- | test/simple/test-fs-read-stream.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/simple/test-fs-read-stream.js b/test/simple/test-fs-read-stream.js index 8c27e5cf7a..71165fdac9 100644 --- a/test/simple/test-fs-read-stream.js +++ b/test/simple/test-fs-read-stream.js @@ -1,4 +1,5 @@ -require('../common'); +common = require("../common"); +assert = common.assert // TODO Improved this test. test_ca.pem is too small. A proper test would // great a large utf8 (with multibyte chars) file and stream it in, @@ -7,7 +8,7 @@ require('../common'); Buffer = require('buffer').Buffer; path = require('path'); fs = require('fs'); -fn = path.join(fixturesDir, 'elipses.txt'); +fn = path.join(common.fixturesDir, 'elipses.txt'); callbacks = { open: 0, end: 0, close: 0, destroy: 0 }; |