Skip to content

Commit

Permalink
test: change fixturesDir to fixtures.path
Browse files Browse the repository at this point in the history
PR-URL: #15902
Reviewed-By: Daijiro Wachi <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
saviogl authored and BridgeAR committed Oct 9, 2017
1 parent 4a1359f commit de2f4ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-fs-read-stream-throw-type-error.js
Original file line number Diff line number Diff line change
@@ -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);
Expand Down

0 comments on commit de2f4ea

Please sign in to comment.