mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
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:
1 parent
dba620b178
commit
bbbf58e951
1 file changed
+3
-3
@@ -1,10 +1,10 @@
|
||||
'use strict';
|
||||
const common = require('../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);
|
||||
|
||||
Reference in new issue
Block a user