Skip to content

Commit 80c2e33

Browse files
ryanmahanMayaLekova
authored andcommitted
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: 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]>
1 parent c1b7471 commit 80c2e33

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test/known_issues/test-http-path-contains-unicode.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,7 @@ const http = require('http');
1010

1111
const expected = '/café🐶';
1212

13-
assert.strictEqual(
14-
expected,
15-
'/caf\u{e9}\u{1f436}',
16-
'Sanity check that string literal produced the expected string'
17-
);
13+
assert.strictEqual('/caf\u{e9}\u{1f436}', expected);
1814

1915
const server = http.createServer(common.mustCall(function(req, res) {
2016
assert.strictEqual(req.url, expected);

0 commit comments

Comments
 (0)