diff --git a/mastodon_test.go b/mastodon_test.go index dd5fc27..e634d27 100644 --- a/mastodon_test.go +++ b/mastodon_test.go @@ -2,6 +2,7 @@ package mastodon import ( "fmt" + "io" "net/http" "net/http/httptest" "testing" @@ -121,4 +122,5 @@ func TestForTheCoverages(t *testing.T) { (*NotificationEvent)(nil).event() (*DeleteEvent)(nil).event() (*ErrorEvent)(nil).event() + (&ErrorEvent{io.EOF}).Error() }