Improve test coverage

This commit is contained in:
TwinProduction 2021-07-16 21:12:18 -04:00 committed by Chris
parent 8516c41b43
commit b88ae5fcf6

View File

@ -99,3 +99,9 @@ func TestCanPerformStartTLS(t *testing.T) {
}) })
} }
} }
func TestCanCreateTCPConnection(t *testing.T) {
if CanCreateTCPConnection("127.0.0.1") {
t.Error("should've failed, because there's no port in the address")
}
}