From 18479d3cff014dc9ff1aff1948d2aa58e74a0d4a Mon Sep 17 00:00:00 2001
From: Chad Zezula <czezula@silasg.com>
Date: Fri, 6 Oct 2017 11:07:22 -0700
Subject: [PATCH] test: fix ordering of strictEqual actual/expected

Change all assert.strictEqual() to have actual value 1st
and expected value 2nd.

PR-URL: https://github.com/nodejs/node/pull/16008
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
---
 test/sequential/test-regress-GH-784.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/sequential/test-regress-GH-784.js b/test/sequential/test-regress-GH-784.js
index f567b9bc5272bf..bbf687afc3dae7 100644
--- a/test/sequential/test-regress-GH-784.js
+++ b/test/sequential/test-regress-GH-784.js
@@ -21,7 +21,7 @@ const server = http.createServer(function(req, res) {
   });
 
   req.on('end', function() {
-    assert.strictEqual('PING', body);
+    assert.strictEqual(body, 'PING');
     res.writeHead(200);
     res.end('PONG');
   });
@@ -98,7 +98,7 @@ function ping() {
     });
 
     res.on('end', function() {
-      assert.strictEqual('PONG', body);
+      assert.strictEqual(body, 'PONG');
       assert.ok(!hadError);
       gotEnd = true;
       afterPing('success');
@@ -130,5 +130,5 @@ process.on('exit', function() {
   console.error("process.on('exit')");
   console.error(responses);
 
-  assert.strictEqual(8, responses.length);
+  assert.strictEqual(responses.length, 8);
 });