Skip to content

Commit

Permalink
Merge pull request #2294 from charmander/test-fixes
Browse files Browse the repository at this point in the history
Fix most SSL negotiation packet tests being ignored
  • Loading branch information
brianc authored Aug 5, 2020
2 parents 1b022f8 + 3edcbb7 commit 316bec3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/pg/test/unit/connection/error-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 316bec3

Please sign in to comment.