From 1c5792bdcb5c897b7e7b3d19d78869df40c4973b Mon Sep 17 00:00:00 2001 From: Christopher Choi Date: Fri, 6 Oct 2017 09:55:43 -0700 Subject: [PATCH] test: use common.fixtures module - replace common.fixturesDir with usage of the common.fixtures module --- test/parallel/test-fs-buffer.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/parallel/test-fs-buffer.js b/test/parallel/test-fs-buffer.js index e7f575a437555e..1cbead434469e9 100644 --- a/test/parallel/test-fs-buffer.js +++ b/test/parallel/test-fs-buffer.js @@ -1,6 +1,7 @@ 'use strict'; const common = require('../common'); +const fixtures = require('../common/fixtures'); const assert = require('assert'); const fs = require('fs'); const path = require('path'); @@ -28,7 +29,7 @@ assert.throws(() => { fs.accessSync(true); }, /path must be a string or Buffer/); -const dir = Buffer.from(common.fixturesDir); +const dir = Buffer.from(fixtures.fixturesDir); fs.readdir(dir, 'hex', common.mustCall((err, hexList) => { assert.ifError(err); fs.readdir(dir, common.mustCall((err, stringList) => {