From 0fa659cdcdf095271f5600b889b5d5955803df26 Mon Sep 17 00:00:00 2001 From: Dumitru Glavan Date: Mon, 6 Nov 2017 15:06:00 +0000 Subject: [PATCH] test: replace common.fixturesDir with fixtures module Require `fixturesDir` from `fixtures` module instead of `common` in test-fs-realpath-buffer-encoding. PR-URL: https://github.com/nodejs/node/pull/16803 Reviewed-By: Colin Ihrig Reviewed-By: Gireesh Punathil Reviewed-By: Rich Trott --- test/parallel/test-fs-realpath-buffer-encoding.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/parallel/test-fs-realpath-buffer-encoding.js b/test/parallel/test-fs-realpath-buffer-encoding.js index 84fd3dca24a329..50ef6718be6f23 100644 --- a/test/parallel/test-fs-realpath-buffer-encoding.js +++ b/test/parallel/test-fs-realpath-buffer-encoding.js @@ -1,9 +1,10 @@ 'use strict'; const common = require('../common'); +const fixtures = require('../common/fixtures'); const assert = require('assert'); const fs = require('fs'); -const string_dir = fs.realpathSync(common.fixturesDir); +const string_dir = fs.realpathSync(fixtures.fixturesDir); const buffer_dir = Buffer.from(string_dir); const encodings = ['ascii', 'utf8', 'utf16le', 'ucs2',