From f5d9169dedb053946c7b71f146b6b757dccbe61b 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 68b66b7c694..4d50c8865ba 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);