From e30f2951ea0ec8e045b6833155f6e669baa5a19b Mon Sep 17 00:00:00 2001 From: Komivi Agbakpem Date: Fri, 6 Oct 2017 10:41:49 -0700 Subject: [PATCH 1/2] test: replace commom.fixturesDir with common.fixtures --- test/parallel/test-fs-read-stream-inherit.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-fs-read-stream-inherit.js b/test/parallel/test-fs-read-stream-inherit.js index 1a7fc7b5bb75e0..f8a3f187f30cbb 100644 --- a/test/parallel/test-fs-read-stream-inherit.js +++ b/test/parallel/test-fs-read-stream-inherit.js @@ -5,8 +5,8 @@ const assert = require('assert'); const fs = require('fs'); const path = require('path'); -const fn = path.join(common.fixturesDir, 'elipses.txt'); -const rangeFile = path.join(common.fixturesDir, 'x.txt'); +const fn = path.join(common.fixtures, 'elipses.txt'); +const rangeFile = path.join(common.fixtures, 'x.txt'); { let paused = false; From 8dd6945a0aec746404c65aba15f603eedecdc01b Mon Sep 17 00:00:00 2001 From: Komivi Agbakpem Date: Mon, 9 Oct 2017 18:57:58 -0700 Subject: [PATCH 2/2] test: update fixtures path in test-fs-read-stream-inherit.js --- 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 f8a3f187f30cbb..6a83dd4eb4b459 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.fixtures, 'elipses.txt'); -const rangeFile = path.join(common.fixtures, 'x.txt'); +const fn = fixtures.path('elipses.txt'); +const rangeFile = fixtures.path('x.txt'); { let paused = false;