Skip to content

Commit

Permalink
fixup: address linter & test issue
Browse files Browse the repository at this point in the history
  • Loading branch information
BridgeAR committed Feb 17, 2018
1 parent 9a43f20 commit 39f51aa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion test/parallel/test-require-extension-over-directory.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ assert.strictEqual(
' requirements'
);

const fakePath = [fixtures.path('module-extension-over-directory', 'inner'), 'fake', '..'].join(path.sep);
const fakePath = [
fixtures.path('module-extension-over-directory', 'inner'),
'fake',
'..'
].join(path.sep);
const fixturesRequireDir = require(fakePath);

assert.strictEqual(
Expand Down
4 changes: 2 additions & 2 deletions test/parallel/test-require-extensions-same-filename-as-dir.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ const content = require(fixtures.path('json-with-directory-name-module',
'module-stub', 'one', 'two',
'three.js'));

assert.strictEqual(content.rocko, 'artischocko');
assert.notStrictEqual(content, 'hello from module-stub!');
assert.notStrictEqual(content.rocko, 'artischocko');
assert.strictEqual(content, 'hello from module-stub!');

0 comments on commit 39f51aa

Please sign in to comment.