Browse Source

Fixed typo in rate limit test

Mark McDonald 11 years ago
committed by Will Norris
parent
commit
df9ba7109d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      github/github_test.go

+ 1
- 1
github/github_test.go View File

@ -381,7 +381,7 @@ func TestDo_rateLimit(t *testing.T) {
if got, want := client.Rate.Limit, 0; got != want {
t.Errorf("Client rate limit = %v, want %v", got, want)
}
if got, want := client.Rate.Limit, 0; got != want {
if got, want := client.Rate.Remaining, 0; got != want {
t.Errorf("Client rate remaining = %v, got %v", got, want)
}
if !client.Rate.Reset.IsZero() {


Loading…
Cancel
Save