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: #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 MylesBorins committed Feb 27, 2018
1 parent 7fc5c69 commit bb2d292
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 bb2d292

Please sign in to comment.