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 <[email protected]>
Reviewed-By: Shingo Inoue <[email protected]>
Reviewed-By: Jon Moss <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
ryanmahan authored and MayaLekova committed May 8, 2018
1 parent c1b7471 commit 80c2e33
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 80c2e33

Please sign in to comment.