From cd303c5020c1b2c449a79bf7d4ab604729c3fdc9 Mon Sep 17 00:00:00 2001 From: Nicolas Chaulet Date: Fri, 6 Oct 2017 10:00:17 -0700 Subject: [PATCH] test: replace usage of common.fixturesDir by using common.fixtures module Replace usage of common.fixturesDir by using common.fixtures module in test/parallel/test-pipe-head --- test/parallel/test-pipe-head.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-pipe-head.js b/test/parallel/test-pipe-head.js index c838be03aa9a01..1cfff9888d0d7f 100644 --- a/test/parallel/test-pipe-head.js +++ b/test/parallel/test-pipe-head.js @@ -1,12 +1,12 @@ 'use strict'; const common = require('../common'); +const fixtures = require('../common/fixtures'); const assert = require('assert'); const exec = require('child_process').exec; -const join = require('path').join; const nodePath = process.argv[0]; -const script = join(common.fixturesDir, 'print-10-lines.js'); +const script = fixtures.path('print-10-lines.js'); const cmd = `"${nodePath}" "${script}" | head -2`;