summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIllescas, Ricardo <rillescas@paypal.com>2018-10-12 12:15:43 -0600
committerJames M Snell <jasnell@gmail.com>2018-10-21 12:25:15 -0700
commit5c91b28f045f008844bda6f08dcddfe15453016f (patch)
tree222cd9930ea25cb98d5f728652368404c9e44d6c
parentc55f25abfac229b132270c1e9532b9ca8abe7d02 (diff)
downloadnode-new-5c91b28f045f008844bda6f08dcddfe15453016f.tar.gz
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: https://github.com/nodejs/node/pull/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>
-rw-r--r--test/known_issues/test-http-path-contains-unicode.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/known_issues/test-http-path-contains-unicode.js b/test/known_issues/test-http-path-contains-unicode.js
index 4d50c8865b..a51b072102 100644
--- a/test/known_issues/test-http-path-contains-unicode.js
+++ b/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);