Skip to content

Commit cd303c5

Browse files
committed
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
1 parent 4f339b5 commit cd303c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-pipe-head.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
'use strict';
22
const common = require('../common');
3+
const fixtures = require('../common/fixtures');
34
const assert = require('assert');
45

56
const exec = require('child_process').exec;
6-
const join = require('path').join;
77

88
const nodePath = process.argv[0];
9-
const script = join(common.fixturesDir, 'print-10-lines.js');
9+
const script = fixtures.path('print-10-lines.js');
1010

1111
const cmd = `"${nodePath}" "${script}" | head -2`;
1212

0 commit comments

Comments
 (0)