From f82f691d5ee7be45e873f5d70a4cb131e11a6303 Mon Sep 17 00:00:00 2001 From: Alex McKenzie Date: Fri, 6 Oct 2017 12:16:42 -0500 Subject: [PATCH] test: replaced fixturesDir with fixtures module This was an assigned task at Node.js Interactive North America 2017. This replaced the fixturesDir exported by the common module with the fixturesDir on the common/fixtures module in the path-makelong test. PR-URL: https://github.com/nodejs/node/pull/15908 Reviewed-By: Daijiro Wachi Reviewed-By: Benjamin Gruenbaum Reviewed-By: Ruben Bridgewater --- test/parallel/test-path-makelong.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/parallel/test-path-makelong.js b/test/parallel/test-path-makelong.js index 4e33d359e6cf11..94486ff09b8771 100644 --- a/test/parallel/test-path-makelong.js +++ b/test/parallel/test-path-makelong.js @@ -1,10 +1,11 @@ 'use strict'; const common = require('../common'); +const fixtures = require('../common/fixtures'); const assert = require('assert'); const path = require('path'); if (common.isWindows) { - const file = path.join(common.fixturesDir, 'a.js'); + const file = fixtures.path('a.js'); const resolvedFile = path.resolve(file); assert.strictEqual(`\\\\?\\${resolvedFile}`, path._makeLong(file));