mirror of
https://github.com/brianc/node-postgres.git
synced 2025-12-08 20:16:25 +00:00
Fix most SSL negotiation packet tests being ignored
`tc` was only one variable and the tests are asynchronous, so every test was writing 'E'.
This commit is contained in:
parent
1b022f8c5f
commit
3edcbb784f
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user