summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorryanmahan <ryanmahan97@gmail.com>2018-01-19 15:06:58 -0500
committerRich Trott <rtrott@gmail.com>2018-01-22 16:34:55 -0800
commitf5d9169dedb053946c7b71f146b6b757dccbe61b (patch)
tree4b518b124b7defec3b983c9cf3a78010b206a510 /test
parent6394c8d99dda8ee56e97cd80c72a8142ef78795d (diff)
downloadandroid-node-v8-f5d9169dedb053946c7b71f146b6b757dccbe61b.tar.gz
android-node-v8-f5d9169dedb053946c7b71f146b6b757dccbe61b.tar.bz2
android-node-v8-f5d9169dedb053946c7b71f146b6b757dccbe61b.zip
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 <luigipinca@gmail.com> Reviewed-By: Shingo Inoue <leko.noor@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/known_issues/test-http-path-contains-unicode.js6
1 files changed, 1 insertions, 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 68b66b7c69..4d50c8865b 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);