Skip to content

Commit 7525df7

Browse files
tobbikTrott
authored andcommitted
test: use common.fixtures.path()
PR-URL: #16112 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Stephen Belanger <[email protected]>
1 parent 0c9b267 commit 7525df7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/parallel/test-fs-readfile-fd.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
'use strict';
2-
const common = require('../common');
2+
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 fn = path.join(common.fixturesDir, 'empty.txt');
6+
const fn = fixtures.path('empty.txt');
77

88
tempFd(function(fd, close) {
99
fs.readFile(fd, function(err, data) {

0 commit comments

Comments
 (0)