From fa836fc21be1e027d00fd595ff1a41e34455bf0c Mon Sep 17 00:00:00 2001 From: Vladimir Ilic Date: Mon, 9 Oct 2017 18:11:26 -0700 Subject: [PATCH] test: replace fixtureDir with fixtures methods PR-URL: https://github.com/nodejs/node/pull/16114 Reviewed-By: James M Snell Reviewed-By: Gireesh Punathil --- test/parallel/test-fs-read.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-fs-read.js b/test/parallel/test-fs-read.js index 4fb40f052b2af3..f69937b3be5174 100644 --- a/test/parallel/test-fs-read.js +++ b/test/parallel/test-fs-read.js @@ -21,10 +21,10 @@ 'use strict'; const common = require('../common'); +const fixtures = require('../common/fixtures'); const assert = require('assert'); -const path = require('path'); const fs = require('fs'); -const filepath = path.join(common.fixturesDir, 'x.txt'); +const filepath = fixtures.path('x.txt'); const fd = fs.openSync(filepath, 'r'); const expected = Buffer.from('xyz\n');