From 2156828f20c50c2b3d13aef0836ab6c3676595be Mon Sep 17 00:00:00 2001 From: Matthias Reis Date: Mon, 6 Nov 2017 16:09:54 +0100 Subject: [PATCH] test: clarified assert message for test-require-json.js PR-URL: https://github.com/nodejs/node/pull/16807 Reviewed-By: Gireesh Punathil Reviewed-By: Rich Trott --- test/parallel/test-require-json.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/parallel/test-require-json.js b/test/parallel/test-require-json.js index 608a661b1c8664..c9701ee728fc50 100644 --- a/test/parallel/test-require-json.js +++ b/test/parallel/test-require-json.js @@ -29,5 +29,6 @@ try { } catch (err) { assert.ok( /test[/\\]fixtures[/\\]invalid\.json: Unexpected string/.test(err.message), - 'require() json error should include path'); + `require() json error should include path - currently: ${err.message}` + ); }