Browse Source

test: replace fixturesDir with fixtures methods

PR-URL: https://github.com/nodejs/node/pull/15967
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
v9.x-staging
Komivi Agbakpem 7 years ago
committed by Joyee Cheung
parent
commit
9aa41cb294
  1. 7
      test/parallel/test-fs-read-stream-inherit.js

7
test/parallel/test-fs-read-stream-inherit.js

@ -1,12 +1,13 @@
'use strict';
const common = require('../common');
const assert = require('assert');
const fs = require('fs');
const path = require('path');
const fixtures = require('../common/fixtures');
const fn = path.join(common.fixturesDir, 'elipses.txt');
const rangeFile = path.join(common.fixturesDir, 'x.txt');
const fn = fixtures.path('elipses.txt');
const rangeFile = fixtures.path('x.txt');
{
let paused = false;

Loading…
Cancel
Save