summaryrefslogtreecommitdiff
path: root/test/known_issues/test-http-path-contains-unicode.js
diff options
context:
space:
mode:
authorIllescas, Ricardo <rillescas@paypal.com>2018-10-12 12:15:43 -0600
committerRich Trott <rtrott@gmail.com>2018-10-19 18:31:51 -0700
commit35ed66c776bbe44d3b8d2df0f5a83d265288374d (patch)
treef2905e3d9fb58cde9ce6489d2f93d448567c8004 /test/known_issues/test-http-path-contains-unicode.js
parent61aa81e16c7ba73fd52649e667e36c9e7e7863ed (diff)
downloadandroid-node-v8-35ed66c776bbe44d3b8d2df0f5a83d265288374d.tar.gz
android-node-v8-35ed66c776bbe44d3b8d2df0f5a83d265288374d.tar.bz2
android-node-v8-35ed66c776bbe44d3b8d2df0f5a83d265288374d.zip
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>
Diffstat (limited to 'test/known_issues/test-http-path-contains-unicode.js')
-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);