mirror of https://github.com/nodejs/node.git
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:
parent
008b97a2db
commit
6b3b64fa73
|
@ -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"');
|
||||
|
|
Loading…
Reference in New Issue