@@ -30,7 +30,6 @@ func TestGistsService_List_specifiedUser(t *testing.T) {
3030
3131 opt := & GistListOptions {Since : time .Date (2013 , time .January , 1 , 0 , 0 , 0 , 0 , time .UTC )}
3232 gists , _ , err := client .Gists .List ("u" , opt )
33-
3433 if err != nil {
3534 t .Errorf ("Gists.List returned error: %v" , err )
3635 }
@@ -82,7 +81,6 @@ func TestGistsService_ListAll(t *testing.T) {
8281
8382 opt := & GistListOptions {Since : time .Date (2013 , time .January , 1 , 0 , 0 , 0 , 0 , time .UTC )}
8483 gists , _ , err := client .Gists .ListAll (opt )
85-
8684 if err != nil {
8785 t .Errorf ("Gists.ListAll returned error: %v" , err )
8886 }
@@ -109,7 +107,6 @@ func TestGistsService_ListStarred(t *testing.T) {
109107
110108 opt := & GistListOptions {Since : time .Date (2013 , time .January , 1 , 0 , 0 , 0 , 0 , time .UTC )}
111109 gists , _ , err := client .Gists .ListStarred (opt )
112-
113110 if err != nil {
114111 t .Errorf ("Gists.ListStarred returned error: %v" , err )
115112 }
@@ -130,7 +127,6 @@ func TestGistsService_Get(t *testing.T) {
130127 })
131128
132129 gist , _ , err := client .Gists .Get ("1" )
133-
134130 if err != nil {
135131 t .Errorf ("Gists.Get returned error: %v" , err )
136132 }
@@ -156,7 +152,6 @@ func TestGistsService_GetRevision(t *testing.T) {
156152 })
157153
158154 gist , _ , err := client .Gists .GetRevision ("1" , "s" )
159-
160155 if err != nil {
161156 t .Errorf ("Gists.Get returned error: %v" , err )
162157 }
@@ -394,7 +389,6 @@ func TestGistsService_Fork(t *testing.T) {
394389 })
395390
396391 gist , _ , err := client .Gists .Fork ("1" )
397-
398392 if err != nil {
399393 t .Errorf ("Gists.Fork returned error: %v" , err )
400394 }
0 commit comments