test: change fixturesDir to fixtures.path
PR-URL: https://github.com/nodejs/node/pull/15902 Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
parent
4a1359fe1d
commit
de2f4ea105
@ -1,10 +1,10 @@
|
||||
'use strict';
|
||||
const common = require('../common');
|
||||
const fixtures = require('../common/fixtures');
|
||||
const assert = require('assert');
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
|
||||
const example = path.join(common.fixturesDir, 'x.txt');
|
||||
const example = fixtures.path('x.txt');
|
||||
|
||||
assert.doesNotThrow(function() {
|
||||
fs.createReadStream(example, undefined);
|
||||
|
Loading…
x
Reference in New Issue
Block a user