Permalink
Browse files

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: #18259
Refs: #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>
  • Loading branch information...
ryanmahan authored and Trott committed Jan 19, 2018
1 parent 6394c8d commit f5d9169dedb053946c7b71f146b6b757dccbe61b
Showing with 1 addition and 5 deletions.
  1. +1 −5 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);

0 comments on commit f5d9169

Please sign in to comment.