aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAmie <amie.freetly@ridescout.com>2018-10-12 09:33:32 -0700
committerRich Trott <rtrott@gmail.com>2018-10-13 09:40:20 -0700
commitc23d2505b3530e35a7cf2284775c74ac3056a100 (patch)
tree565472fae239ac2e7c1755837bc66252fbbabdf3 /test
parent8691d8f5426517d3a17ec1a9532dc43d68ae38d4 (diff)
downloadandroid-node-v8-c23d2505b3530e35a7cf2284775c74ac3056a100.tar.gz
android-node-v8-c23d2505b3530e35a7cf2284775c74ac3056a100.tar.bz2
android-node-v8-c23d2505b3530e35a7cf2284775c74ac3056a100.zip
test: fix incorrect expectation order
test-http-expect-handling.js has an instance of the test value and the expected value being reversed. Refs: https://nodejs.org/api/assert.html PR-URL: https://github.com/nodejs/node/pull/23466 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/parallel/test-http-expect-handling.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-http-expect-handling.js b/test/parallel/test-http-expect-handling.js
index fd1f244979..11d2b6ecf4 100644
--- a/test/parallel/test-http-expect-handling.js
+++ b/test/parallel/test-http-expect-handling.js
@@ -51,5 +51,5 @@ function nextTest() {
process.on('exit', function() {
- assert.strictEqual(2, testsComplete);
+ assert.strictEqual(testsComplete, 2);
});