Skip to content

Commit 1fc3851

Browse files
savioglMylesBorins
authored andcommitted
test: change fixturesDir to fixtures.path
PR-URL: #15902 Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent 683e48c commit 1fc3851

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/parallel/test-fs-read-stream-throw-type-error.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
'use strict';
2-
const common = require('../common');
2+
require('../common');
3+
const fixtures = require('../common/fixtures');
34
const assert = require('assert');
45
const fs = require('fs');
5-
const path = require('path');
66

7-
const example = path.join(common.fixturesDir, 'x.txt');
7+
const example = fixtures.path('x.txt');
88

99
assert.doesNotThrow(function() {
1010
fs.createReadStream(example, undefined);

0 commit comments

Comments
 (0)