From d1e98eb548e3f6b4b985ad331916c84a609fc3b9 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Fri, 14 Apr 2017 17:30:27 +0900 Subject: [PATCH] add test --- mastodon_test.go | 2 ++ 1 file changed, 2 insertions(+) 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() }