From 1b1bd261dc8dc1810ab239036cac31477f91082f Mon Sep 17 00:00:00 2001 From: Adam Jeffery Date: Mon, 6 Nov 2017 15:44:56 +0000 Subject: [PATCH] test: add values to error message 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 Reviewed-By: Gireesh Punathil --- test/parallel/test-require-extensions-main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/parallel/test-require-extensions-main.js b/test/parallel/test-require-extensions-main.js index 40a857b8e63614..16fbad6cf7af6e 100644 --- a/test/parallel/test-require-extensions-main.js +++ b/test/parallel/test-require-extensions-main.js @@ -3,11 +3,11 @@ require('../common'); const assert = require('assert'); const fixtures = require('../common/fixtures'); -const fixturesRequire = - require(fixtures.path('require-bin', 'bin', 'req.js')); +const fixturesRequire = require(fixtures.path('require-bin', 'bin', 'req.js')); assert.strictEqual( fixturesRequire, '', - 'test-require-extensions-main failed to import fixture requirements' + 'test-require-extensions-main failed to import fixture requirements: ' + + fixturesRequire );