From f8e7112b91a9319ee72abdf150e5fead7ef84906 Mon Sep 17 00:00:00 2001 From: Amie Date: Fri, 12 Oct 2018 09:33:32 -0700 Subject: [PATCH] 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 Reviewed-By: Gireesh Punathil Reviewed-By: James M Snell Reviewed-By: Sakthipriyan Vairamani --- test/parallel/test-http-expect-handling.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-http-expect-handling.js b/test/parallel/test-http-expect-handling.js index fd1f244979459f..11d2b6ecf4e614 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); });