diff --git a/test/parallel/test-fs-read-stream-throw-type-error.js b/test/parallel/test-fs-read-stream-throw-type-error.js index 61308ea97b..26fd47372e 100644 --- a/test/parallel/test-fs-read-stream-throw-type-error.js +++ b/test/parallel/test-fs-read-stream-throw-type-error.js @@ -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);