From e12dc40c2f7ff4b7bf9e7ec1b90813f747ed4fba Mon Sep 17 00:00:00 2001 From: Mujtaba Al-Tameemi Date: Fri, 6 Oct 2017 10:37:01 -0700 Subject: [PATCH] test: replace fixturesDir with fixtures MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/15949 Reviewed-By: Ruben Bridgewater Reviewed-By: Tobias Nießen --- test/parallel/test-stdin-from-file.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-stdin-from-file.js b/test/parallel/test-stdin-from-file.js index 908416e721c2bb..148464e51a8c1a 100644 --- a/test/parallel/test-stdin-from-file.js +++ b/test/parallel/test-stdin-from-file.js @@ -1,11 +1,12 @@ 'use strict'; const common = require('../common'); +const fixtures = require('../common/fixtures'); const assert = require('assert'); -const join = require('path').join; +const { join } = require('path'); const childProcess = require('child_process'); const fs = require('fs'); -const stdoutScript = join(common.fixturesDir, 'echo-close-check.js'); +const stdoutScript = fixtures.path('echo-close-check.js'); const tmpFile = join(common.tmpDir, 'stdin.txt'); const cmd = `"${process.argv[0]}" "${stdoutScript}" < "${tmpFile}"`;