From d629be2b8f982ca043d01047758a4f9718106928 Mon Sep 17 00:00:00 2001 From: ryanmahan Date: Fri, 19 Jan 2018 15:06:58 -0500 Subject: [PATCH] test: change assert message to default assert.strictEqual message argument removed to replace with default assert message to show the expected vs actual values PR-URL: https://github.com/nodejs/node/pull/18259 Refs: https://github.com/nodejs/node/issues/13296 Reviewed-By: Luigi Pinca Reviewed-By: Shingo Inoue Reviewed-By: Jon Moss Reviewed-By: Colin Ihrig Reviewed-By: James M Snell --- test/known_issues/test-http-path-contains-unicode.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test/known_issues/test-http-path-contains-unicode.js b/test/known_issues/test-http-path-contains-unicode.js index 68b66b7c6940ed..4d50c8865ba542 100644 --- a/test/known_issues/test-http-path-contains-unicode.js +++ b/test/known_issues/test-http-path-contains-unicode.js @@ -10,11 +10,7 @@ const http = require('http'); const expected = '/café🐶'; -assert.strictEqual( - expected, - '/caf\u{e9}\u{1f436}', - 'Sanity check that string literal produced the expected string' -); +assert.strictEqual('/caf\u{e9}\u{1f436}', expected); const server = http.createServer(common.mustCall(function(req, res) { assert.strictEqual(req.url, expected);