diff --git a/test/parallel/test-fs-write-stream-encoding.js b/test/parallel/test-fs-write-stream-encoding.js index 3ce47b73829b53..5fb810887721d9 100644 --- a/test/parallel/test-fs-write-stream-encoding.js +++ b/test/parallel/test-fs-write-stream-encoding.js @@ -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();