(t *testing.T)
| 90 | } |
| 91 | |
| 92 | func TestCanvasError_ErrorString(t *testing.T) { |
| 93 | e := NewCanvasError("foo_code", "bar message") |
| 94 | if got := e.Error(); got != "foo_code: bar message" { |
| 95 | t.Fatalf("unexpected Error() output: %q", got) |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | type recordingCanvasHandler struct { |
| 100 | CanvasHandlerDefaults |
nothing calls this directly
no test coverage detected
searching dependent graphs…