From 40d2da60d9c726107e6cf9a253a145f7cff00549 Mon Sep 17 00:00:00 2001 From: Komivi Agbakpem Date: Fri, 6 Oct 2017 10:41:49 -0700 Subject: [PATCH] test: replace fixturesDir with fixtures methods PR-URL: https://github.com/nodejs/node/pull/15967 Reviewed-By: Gireesh Punathil Reviewed-By: James M Snell Reviewed-By: Luigi Pinca --- test/parallel/test-fs-read-stream-inherit.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/parallel/test-fs-read-stream-inherit.js b/test/parallel/test-fs-read-stream-inherit.js index ddb07274d1f887..048fda1d3920eb 100644 --- a/test/parallel/test-fs-read-stream-inherit.js +++ b/test/parallel/test-fs-read-stream-inherit.js @@ -1,12 +1,13 @@ 'use strict'; + const common = require('../common'); const assert = require('assert'); const fs = require('fs'); -const path = require('path'); +const fixtures = require('../common/fixtures'); -const fn = path.join(common.fixturesDir, 'elipses.txt'); -const rangeFile = path.join(common.fixturesDir, 'x.txt'); +const fn = fixtures.path('elipses.txt'); +const rangeFile = fixtures.path('x.txt'); { let paused = false;