Skip to content

Commit 4826ac5

Browse files
burgerboydaddyjoyeecheung
authored andcommitted
test: replace fixtureDir with fixtures methods
PR-URL: #16114 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
1 parent 24d7294 commit 4826ac5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-fs-read.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121

2222
'use strict';
2323
const common = require('../common');
24+
const fixtures = require('../common/fixtures');
2425
const assert = require('assert');
25-
const path = require('path');
2626
const fs = require('fs');
27-
const filepath = path.join(common.fixturesDir, 'x.txt');
27+
const filepath = fixtures.path('x.txt');
2828
const fd = fs.openSync(filepath, 'r');
2929

3030
const expected = Buffer.from('xyz\n');

0 commit comments

Comments
 (0)