Skip to content

Commit

Permalink
test: Updates extension test for changes to limit extension api
Browse files Browse the repository at this point in the history
  • Loading branch information
philipgough committed Feb 25, 2019
1 parent 514b5de commit 44137aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,11 @@ func TestExtensions(t *testing.T) {
t.Errorf("expected nil error")
}

if limRem := r.GetLimitRemaining(); *limRem != 10 {
if limRem := r.RateLimits.GetLimitRemaining(); limRem != 10 {
t.Errorf("unexpected limit parsing - limit remaining")
}

if limRes := r.GetLimitReset(); *limRes != 500 {
if limRes := r.RateLimits.GetLimitReset(); limRes != 500 {
t.Errorf("unexpected limit parsing - limit reset")
}
},
Expand Down

0 comments on commit 44137aa

Please sign in to comment.