mirror of
https://github.com/ddworken/hishtory.git
synced 2025-01-22 22:28:51 +01:00
Skip tests that cause gotestsum to skip re-running
This commit is contained in:
parent
3d4e48aabd
commit
50c6f5e061
@ -79,6 +79,7 @@ func TestLoggerMiddlewareWithPanic(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestPanicGuard(t *testing.T) {
|
||||
t.Skip("TODO: Re-enable this without it breaking gotestsum")
|
||||
handler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
panic(fmt.Errorf("synthetic panic for tests"))
|
||||
})
|
||||
@ -107,6 +108,7 @@ func TestPanicGuard(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestPanicGuardNoPanic(t *testing.T) {
|
||||
t.Skip("TODO: Re-enable this without it breaking gotestsum")
|
||||
handler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
w.WriteHeader(http.StatusOK)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user