From dbbb36ecb2c83225ac6a9dbacdb85100a310f8d4 Mon Sep 17 00:00:00 2001 From: Tyler Seabrook Date: Fri, 6 Oct 2017 09:49:32 -0700 Subject: [PATCH] test: update fixturesDir import Import fixturesDir path from common/fixturesDir module rather than from common. PR-URL: https://github.com/nodejs/node/pull/15887 Reviewed-By: James M Snell Reviewed-By: Joyee Cheung --- test/sequential/test-stream2-fs.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/sequential/test-stream2-fs.js b/test/sequential/test-stream2-fs.js index fba52a42d4f81f..e2da2dca645dce 100644 --- a/test/sequential/test-stream2-fs.js +++ b/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;