Skip to content
Permalink
Browse files

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>
  • Loading branch information...
Illescas, Ricardo authored and jasnell committed Oct 12, 2018
1 parent c55f25a commit 5c91b28f045f008844bda6f08dcddfe15453016f
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/known_issues/test-http-path-contains-unicode.js
@@ -10,7 +10,7 @@ const http = require('http');

const expected = '/café🐶';

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

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

0 comments on commit 5c91b28

Please sign in to comment.
You can’t perform that action at this time.