Skip to content

Commit

Permalink
test: replace usage of common.fixturesDir by using common.fixtures mo…
Browse files Browse the repository at this point in the history
…dule

Replace usage of common.fixturesDir by using common.fixtures module in test/parallel/test-pipe-head
  • Loading branch information
nchaulet committed Oct 6, 2017
1 parent 4f339b5 commit cd303c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-pipe-head.js
Original file line number Diff line number Diff line change
@@ -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`;

Expand Down

0 comments on commit cd303c5

Please sign in to comment.