mirror of
https://github.com/ddworken/hishtory.git
synced 2025-03-27 08:08:07 +01:00
Delete no longer used function
This commit is contained in:
parent
6d95b759f6
commit
0c202e4130
@ -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 {
|
||||
_, err := http.Get("https://hishtory.dev")
|
||||
return err == nil
|
||||
|
Loading…
Reference in New Issue
Block a user