Skip to content
8 changes: 4 additions & 4 deletions test/parallel/test-module-relative-lookup.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ const _module = require('module'); // avoid collision with global.module
const lookupResults = _module._resolveLookupPaths('./lodash');
let paths = lookupResults[1];

assert.strictEqual(paths[0], '.',
'Current directory gets highest priority for local modules');
// Current directory gets highest priority for local modules
assert.strictEqual(paths[0], '.');

paths = _module._resolveLookupPaths('./lodash', null, true);

assert.strictEqual(paths && paths[0], '.',
'Current directory gets highest priority for local modules');
// Current directory gets highest priority for local modules
assert.strictEqual(paths && paths[0], '.');