test: fix regression in test-require-resolver.js

PR-URL: https://github.com/nodejs/node/pull/16192
Refs: https://github.com/nodejs/node/pull/15984
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
This commit is contained in:
Tobias Nießen 2017-10-13 22:13:14 +02:00
parent 80bd2a240b
commit 91a465c460

View File

@ -26,7 +26,7 @@ const assert = require('assert');
assert.strictEqual( assert.strictEqual(
fixtures.path('a.js').toLowerCase(), fixtures.path('a.js').toLowerCase(),
require.resolve(fixtures.path('a').toLowerCase())); require.resolve(fixtures.path('a')).toLowerCase());
assert.strictEqual( assert.strictEqual(
fixtures.path('a.js').toLowerCase(), fixtures.path('a.js').toLowerCase(),
require.resolve(fixtures.path('a')).toLowerCase()); require.resolve(fixtures.path('a')).toLowerCase());