Skip to content

Commit 9aa41cb

Browse files
kagbakpemjoyeecheung
authored andcommitted
test: replace fixturesDir with fixtures methods
PR-URL: #15967 Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 0ff0c70 commit 9aa41cb

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
'use strict';
2+
23
const common = require('../common');
34

45
const assert = require('assert');
56
const fs = require('fs');
6-
const path = require('path');
7+
const fixtures = require('../common/fixtures');
78

8-
const fn = path.join(common.fixturesDir, 'elipses.txt');
9-
const rangeFile = path.join(common.fixturesDir, 'x.txt');
9+
const fn = fixtures.path('elipses.txt');
10+
const rangeFile = fixtures.path('x.txt');
1011

1112
{
1213
let paused = false;

0 commit comments

Comments
 (0)