(t *testing.T)
| 45 | } |
| 46 | |
| 47 | func TestHandleHook_NoArgs(t *testing.T) { |
| 48 | var buf bytes.Buffer |
| 49 | err := handleHook(t.Context(), nil, &buf) |
| 50 | assert.NilError(t, err) |
| 51 | assert.Equal(t, buf.String(), "") |
| 52 | } |
| 53 | |
| 54 | func TestHandleHook_InvalidJSON(t *testing.T) { |
| 55 | var buf bytes.Buffer |
nothing calls this directly
no test coverage detected