summaryrefslogtreecommitdiff
path: root/test/parallel/test-fs-readfile-unlink.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-fs-readfile-unlink.js')
-rw-r--r--test/parallel/test-fs-readfile-unlink.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/parallel/test-fs-readfile-unlink.js b/test/parallel/test-fs-readfile-unlink.js
index 1098fb7374..9c931c5f4e 100644
--- a/test/parallel/test-fs-readfile-unlink.js
+++ b/test/parallel/test-fs-readfile-unlink.js
@@ -20,11 +20,13 @@
// USE OR OTHER DEALINGS IN THE SOFTWARE.
'use strict';
-const common = require('../common');
+require('../common');
const assert = require('assert');
const fs = require('fs');
const path = require('path');
-const dirName = path.resolve(common.fixturesDir, 'test-readfile-unlink');
+const fixtures = require('../common/fixtures');
+
+const dirName = fixtures.path('test-readfile-unlink');
const fileName = path.resolve(dirName, 'test.bin');
const buf = Buffer.alloc(512 * 1024, 42);