add test
parent
c3ca0792f5
commit
d1e98eb548
|
@ -2,6 +2,7 @@ package mastodon
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"io"
|
||||||
"net/http"
|
"net/http"
|
||||||
"net/http/httptest"
|
"net/http/httptest"
|
||||||
"testing"
|
"testing"
|
||||||
|
@ -121,4 +122,5 @@ func TestForTheCoverages(t *testing.T) {
|
||||||
(*NotificationEvent)(nil).event()
|
(*NotificationEvent)(nil).event()
|
||||||
(*DeleteEvent)(nil).event()
|
(*DeleteEvent)(nil).event()
|
||||||
(*ErrorEvent)(nil).event()
|
(*ErrorEvent)(nil).event()
|
||||||
|
(&ErrorEvent{io.EOF}).Error()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue