Browse Source

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>
v9.x-staging
Savio Lucena 7 years ago
committed by Ruben Bridgewater
parent
commit
de2f4ea105
No known key found for this signature in database GPG Key ID: F07496B3EB3C1762
  1. 4
      test/parallel/test-fs-read-stream-throw-type-error.js

4
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);

Loading…
Cancel
Save