Skip to content

Commit

Permalink
test: change assert message to default
Browse files Browse the repository at this point in the history
assert.strictEqual message argument removed to replace
with default assert message to show the expected vs
actual values

PR-URL: nodejs#18259
Refs: nodejs#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 23, 2018
1 parent 6394c8d commit f5d9169
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/known_issues/test-http-path-contains-unicode.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f5d9169

Please sign in to comment.