mirror of
https://github.com/TwiN/gatus.git
synced 2024-11-21 23:43:27 +01:00
Improve test coverage
This commit is contained in:
parent
8516c41b43
commit
b88ae5fcf6
@ -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")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user