func TestHandleCrash(t *testing.T) { … } func TestCustomHandleCrash(t *testing.T) { … } func TestCustomHandleError(t *testing.T) { … } func TestHandleCrashLog(t *testing.T) { … } func TestHandleCrashLogSilenceHTTPErrAbortHandler(t *testing.T) { … } // captureStderr redirects stderr to result string, and then restore stderr from backup func captureStderr(f func()) (string, error) { … } func Test_rudimentaryErrorBackoff_OnError_ParallelSleep(t *testing.T) { … }