From 7ca02b0f0cd42f6c82ff0657e286e0e655fbb180 Mon Sep 17 00:00:00 2001 From: rachelnicole Date: Fri, 6 Oct 2017 13:33:58 -0700 Subject: [PATCH] test: replace fixturesDir with common.fixtures PR-URL: https://github.com/nodejs/node/pull/16051 Reviewed-By: Joyee Cheung Reviewed-By: Ruben Bridgewater Reviewed-By: Refael Ackermann Reviewed-By: Richard Lau --- test/parallel/test-internal-modules.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/parallel/test-internal-modules.js b/test/parallel/test-internal-modules.js index 2f11ca18dd6b34..c61d957acd0542 100644 --- a/test/parallel/test-internal-modules.js +++ b/test/parallel/test-internal-modules.js @@ -1,6 +1,6 @@ 'use strict'; -const common = require('../common'); -const path = require('path'); +require('../common'); +const fixtures = require('../common/fixtures'); const assert = require('assert'); assert.throws(function() { @@ -8,6 +8,6 @@ assert.throws(function() { }, /^Error: Cannot find module 'internal\/freelist'$/); assert.strictEqual( - require(path.join(common.fixturesDir, 'internal-modules')), + require(fixtures.path('internal-modules')), 42 );