From 53449f303fee256eaee3cffca08d7354b037bbd5 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 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/test/parallel/test-fs-read-stream-inherit.js b/test/parallel/test-fs-read-stream-inherit.js index 10bf800960bcb4..968cc6a23d316d 100644 --- a/test/parallel/test-fs-read-stream-inherit.js +++ b/test/parallel/test-fs-read-stream-inherit.js @@ -1,11 +1,13 @@ 'use strict'; + const common = require('../common'); const assert = require('assert'); -const path = require('path'); const fs = require('fs'); -const fn = path.join(common.fixturesDir, 'elipses.txt'); -const rangeFile = path.join(common.fixturesDir, 'x.txt'); +const fixtures = require('../common/fixtures'); + +const fn = fixtures.path('elipses.txt'); +const rangeFile = fixtures.path('x.txt'); let paused = false;