Skip to content

Commit 8d5fc7f

Browse files
saviogladdaleax
authored andcommitted
test: change fixturesDir to fixtures.path
PR-URL: nodejs/node#15902 Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent 1dad272 commit 8d5fc7f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
'use strict';
22
const common = 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)