From de2f4ea1052c001a73e4762c4dbaa6f1c3e56ef8 Mon Sep 17 00:00:00 2001 From: Savio Lucena Date: Fri, 6 Oct 2017 10:02:27 -0700 Subject: [PATCH] test: change fixturesDir to fixtures.path PR-URL: https://github.com/nodejs/node/pull/15902 Reviewed-By: Daijiro Wachi Reviewed-By: Ruben Bridgewater --- test/parallel/test-fs-read-stream-throw-type-error.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-fs-read-stream-throw-type-error.js b/test/parallel/test-fs-read-stream-throw-type-error.js index 61308ea97b8..26fd47372eb 100644 --- a/test/parallel/test-fs-read-stream-throw-type-error.js +++ b/test/parallel/test-fs-read-stream-throw-type-error.js @@ -1,10 +1,10 @@ 'use strict'; const common = require('../common'); +const fixtures = require('../common/fixtures'); const assert = require('assert'); const fs = require('fs'); -const path = require('path'); -const example = path.join(common.fixturesDir, 'x.txt'); +const example = fixtures.path('x.txt'); assert.doesNotThrow(function() { fs.createReadStream(example, undefined);