From bbbf58e95152f1c5f68ddef9b64fa2591e0502e7 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 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 b6e1869fdc2cc9..fc3c2fe9e908e7 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'); +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);