From 1365a6f59763de371083526bf3ff7208cc62dbbd Mon Sep 17 00:00:00 2001 From: Adil L Date: Fri, 6 Oct 2017 11:51:33 -0700 Subject: [PATCH] test: use common.fixtures module for file path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/16017 Reviewed-By: Colin Ihrig Reviewed-By: Tobias Nießen Reviewed-By: Ruben Bridgewater Reviewed-By: Benjamin Gruenbaum Reviewed-By: Michael Dawson --- test/parallel/test-fs-read-zero-length.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-fs-read-zero-length.js b/test/parallel/test-fs-read-zero-length.js index a3e98f540a4151..5d4ea66691b146 100644 --- a/test/parallel/test-fs-read-zero-length.js +++ b/test/parallel/test-fs-read-zero-length.js @@ -1,9 +1,9 @@ '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 = '';