Skip to content

Commit e00a4c8

Browse files
burgerboydaddyMylesBorins
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 f46e118 commit e00a4c8

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
@@ -1,9 +1,9 @@
11
'use strict';
22
const common = require('../common');
3+
const fixtures = require('../common/fixtures');
34
const assert = require('assert');
4-
const path = require('path');
55
const fs = require('fs');
6-
const filepath = path.join(common.fixturesDir, 'x.txt');
6+
const filepath = fixtures.path('x.txt');
77
const fd = fs.openSync(filepath, 'r');
88
const expected = 'xyz\n';
99

0 commit comments

Comments
 (0)