Skip to content

Commit

Permalink
test: replace common.fixturesDir with fixtures.
Browse files Browse the repository at this point in the history
Replaces the use of `common.fixturesDir` with the generic `fixtures`
mechanism.

PR-URL: #15802
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
  • Loading branch information
codeviking authored and MylesBorins committed Oct 11, 2017
1 parent de198a9 commit 73a41cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/parallel/test-fs-write-stream-encoding.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
'use strict';
const common = require('../common');
const assert = require('assert');
const fixtures = require('../common/fixtures');
const fs = require('fs');
const path = require('path');
const stream = require('stream');
const firstEncoding = 'base64';
const secondEncoding = 'latin1';

const examplePath = path.join(common.fixturesDir, 'x.txt');
const examplePath = fixtures.path('x.txt');
const dummyPath = path.join(common.tmpDir, 'x.txt');

common.refreshTmpDir();
Expand Down

0 comments on commit 73a41cf

Please sign in to comment.