Merge pull request #2294 from charmander/test-fixes

Fix most SSL negotiation packet tests being ignored
This commit is contained in:
Brian C 2020-08-05 09:45:10 -05:00 committed by GitHub
commit 316bec3b43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,8 +58,7 @@ var SSLNegotiationPacketTests = [
},
]
for (var i = 0; i < SSLNegotiationPacketTests.length; i++) {
var tc = SSLNegotiationPacketTests[i]
for (const tc of SSLNegotiationPacketTests) {
suite.test(tc.testName, function (done) {
// our fake postgres server
var socket