mirror of
https://github.com/nodejs/node.git
synced 2025-04-29 06:19:07 +00:00

In test-require-extensions-main, include the values that caused the test to fail in the messages reporting the failure. PR-URL: https://github.com/nodejs/node/pull/16831 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
14 lines
343 B
JavaScript
14 lines
343 B
JavaScript
'use strict';
|
|
require('../common');
|
|
const assert = require('assert');
|
|
const fixtures = require('../common/fixtures');
|
|
|
|
const fixturesRequire = require(fixtures.path('require-bin', 'bin', 'req.js'));
|
|
|
|
assert.strictEqual(
|
|
fixturesRequire,
|
|
'',
|
|
'test-require-extensions-main failed to import fixture requirements: ' +
|
|
fixturesRequire
|
|
);
|