Skip to content

Commit 64a1c1f

Browse files
ruxandrafedtargos
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 <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]>
1 parent d3bf469 commit 64a1c1f

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
@@ -20,13 +20,13 @@
2020
// USE OR OTHER DEALINGS IN THE SOFTWARE.
2121

2222
'use strict';
23-
const common = require('../common');
23+
require('../common');
24+
const fixtures = require('../common/fixtures');
2425
const assert = require('assert');
2526

2627
const fs = require('fs');
27-
const path = require('path');
2828

29-
const file = path.join(common.fixturesDir, 'x.txt');
29+
const file = fixtures.path('x.txt');
3030
let data = '';
3131
let first = true;
3232

0 commit comments

Comments
 (0)