Permalink
Browse files

test: update fixturesDir import

Import fixturesDir path from common/fixturesDir
module rather than from common.

PR-URL: #15887
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
  • Loading branch information...
seabrookmx authored and targos committed Oct 6, 2017
1 parent 40d2da6 commit dbbb36ecb2c83225ac6a9dbacdb85100a310f8d4
Showing with 3 additions and 2 deletions.
  1. +3 −2 test/sequential/test-stream2-fs.js
@@ -20,14 +20,15 @@
// USE OR OTHER DEALINGS IN THE SOFTWARE.
'use strict';
const common = require('../common');
require('../common');
const fixtures = require('../common/fixtures');
const assert = require('assert');
const fs = require('fs');
const FSReadable = fs.ReadStream;
const path = require('path');
const file = path.resolve(common.fixturesDir, 'x1024.txt');
const file = path.resolve(fixtures.path('x1024.txt'));
const size = fs.statSync(file).size;

0 comments on commit dbbb36e

Please sign in to comment.