Skip to content

Commit 9de80e6

Browse files
Illescas, Ricardoaddaleax
Illescas, Ricardo
authored andcommitted
test: fix argument order in assertion
Change the order of assert parameters so the first argument is the value and the second one the expected value. PR-URL: #23581 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
1 parent a3b15ad commit 9de80e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

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

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

13-
assert.strictEqual('/caf\u{e9}\u{1f436}', expected);
13+
assert.strictEqual(expected, '/caf\u{e9}\u{1f436}');
1414

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

0 commit comments

Comments
 (0)