Skip to content

Commit c35420d

Browse files
ruxandrafedMylesBorins
authored andcommitted
test: normalize fixtures use
This commit replaces the use of `common.fixturesDir` with `common.fixtures` & `fixtures.path` in `test-fs-read-stream-resume.js` PR-URL: #15855 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
1 parent 3c176fd commit c35420d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

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

56
const fs = require('fs');
6-
const path = require('path');
77

8-
const file = path.join(common.fixturesDir, 'x.txt');
8+
const file = fixtures.path('x.txt');
99
let data = '';
1010
let first = true;
1111

0 commit comments

Comments
 (0)