Skip to content

Commit 4005ed6

Browse files
codevikingMylesBorins
authored andcommitted
test: replace common.fixturesDir with fixtures.
Replaces the use of `common.fixturesDir` with the generic `fixtures` mechanism. PR-URL: #15802 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 8c5b51d commit 4005ed6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/parallel/test-fs-write-stream-encoding.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
'use strict';
22
const common = require('../common');
33
const assert = require('assert');
4+
const fixtures = require('../common/fixtures');
45
const fs = require('fs');
56
const path = require('path');
67
const stream = require('stream');
78
const firstEncoding = 'base64';
89
const secondEncoding = 'latin1';
910

10-
const examplePath = path.join(common.fixturesDir, 'x.txt');
11+
const examplePath = fixtures.path('x.txt');
1112
const dummyPath = path.join(common.tmpDir, 'x.txt');
1213

1314
common.refreshTmpDir();

0 commit comments

Comments
 (0)