test: fix argument order in assertions

PR-URL: https://github.com/nodejs/node/pull/23506
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
Illescas, Ricardo authored and Ruben Bridgewater committed 2018-10-15 12:00:00 +02:00
1 parent 008b97a2db
commit 6b3b64fa73
1 file changed
+1 -1
+1 -1
View File
@@ -66,7 +66,7 @@ echo_server.listen(common.PORT, function() {
});
client.on('data', function(chunk) {
assert.strictEqual('hello\r\n', chunk);
assert.strictEqual(chunk, 'hello\r\n');
if (exchanges++ < 5) {
setTimeout(function() {
console.log('client write "hello"');