From 4d7b5affc1f674b78fa9dd028d33c15fafbe2b4b Mon Sep 17 00:00:00 2001 From: Ruxandra Fediuc Date: Fri, 6 Oct 2017 09:38:31 -0700 Subject: [PATCH] test: normalize fixtures use MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit replaces the use of `common.fixturesDir` with `common.fixtures` & `fixtures.path` in `test-fs-read-stream-resume.js` PR-URL: https://github.com/nodejs/node/pull/15855 Reviewed-By: Richard Lau Reviewed-By: Benjamin Gruenbaum Reviewed-By: Colin Ihrig Reviewed-By: Tobias Nießen Reviewed-By: James M Snell Reviewed-By: Gireesh Punathil --- test/parallel/test-fs-read-stream-resume.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/parallel/test-fs-read-stream-resume.js b/test/parallel/test-fs-read-stream-resume.js index 6c8b2c2421c8e3..71b7f69d8e17fe 100644 --- a/test/parallel/test-fs-read-stream-resume.js +++ b/test/parallel/test-fs-read-stream-resume.js @@ -1,11 +1,11 @@ 'use strict'; -const common = require('../common'); +require('../common'); +const fixtures = require('../common/fixtures'); const assert = require('assert'); const fs = require('fs'); -const path = require('path'); -const file = path.join(common.fixturesDir, 'x.txt'); +const file = fixtures.path('x.txt'); let data = ''; let first = true;