Skip to content

Commit 788d7db

Browse files
tobbikMylesBorins
authored andcommitted
test: use common.fixtures.path()
PR-URL: #16112 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
1 parent 4639cff commit 788d7db

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

+3-3
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)