1
0
mirror of https://github.com/ddworken/hishtory.git synced 2025-04-02 12:32:45 +02:00

Delete no longer used function

This commit is contained in:
David Dworken 2023-09-24 18:09:41 -07:00
parent 6d95b759f6
commit 0c202e4130
No known key found for this signature in database

View File

@ -291,13 +291,6 @@ func RunTestServer() func() {
} }
} }
func CheckWithInfo(t *testing.T, err error, additionalInfo string) {
if err != nil {
_, filename, line, _ := runtime.Caller(1)
t.Fatalf("Unexpected error: %v at %s:%d! Additional info: %v", err, filename, line, additionalInfo)
}
}
func IsOnline() bool { func IsOnline() bool {
_, err := http.Get("https://hishtory.dev") _, err := http.Get("https://hishtory.dev")
return err == nil return err == nil