diff --git a/album_test.go b/album_test.go index 6efde05..c31fee5 100644 --- a/album_test.go +++ b/album_test.go @@ -19,7 +19,7 @@ func TestAlbumImgurSimulated(t *testing.T) { } if alb.Title != "Gianluca Gimini's bikes" || alb.Cover != "CJCA0gW" || alb.CoverWidth != 1200 || alb.CoverHeight != 786 || alb.Link != "https://imgur.com/a/VZQXk" || alb.ImagesCount != 1 || alb.Images[0].ID != "CJCA0gW" { - t.Error("Data comparision failed.") + t.Error("Data comparison failed.") if alb.Title != "Gianluca Gimini's bikes" { t.Errorf("Title is %v.\n", alb.Title) @@ -68,7 +68,7 @@ func TestAlbumImgurReal(t *testing.T) { } if alb.Title != "Gianluca Gimini's bikes" || alb.Cover != "CJCA0gW" || alb.CoverWidth != 1200 || alb.CoverHeight != 786 || alb.Link != "https://imgur.com/a/VZQXk" || alb.ImagesCount != 14 || alb.Images[0].ID != "CJCA0gW" { - t.Error("Data comparision failed.") + t.Error("Data comparison failed.") if alb.Title != "Gianluca Gimini's bikes" { t.Errorf("Title is %v.\n", alb.Title) diff --git a/rateLimit_test.go b/rateLimit_test.go index ef424d6..f7217d6 100644 --- a/rateLimit_test.go +++ b/rateLimit_test.go @@ -44,7 +44,7 @@ func TestRateLimitRealRapidAPI(t *testing.T) { t.FailNow() } - // There seem to be not rate limites when using the payed API + // There seem to be not rate limites when using the paid API if rl.ClientLimit != 0 || rl.UserLimit != 0 { client.Log.Debugf("Found ClientLimit: %v and UserLimit: %v", rl.ClientLimit, rl.UserLimit) t.Error("Client/User limits are wrong. Probably something broken. Or IMGUR changed their limits. Or you are using a free account for testing. Sorry. No real good way to test this.")