Skip to content

Commit

Permalink
test: change fixturesDir to fixtures.path
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node#15902
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
saviogl authored and addaleax committed Oct 11, 2017
1 parent 1dad272 commit 8d5fc7f
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 8d5fc7f

Please sign in to comment.