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 <daijiro.wachi@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
saviogl authored and MylesBorins committed Nov 14, 2017
1 parent eee7d52 commit cb199a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 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');
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 cb199a2

Please sign in to comment.