Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
fixed test for minrow maxrow
Browse files Browse the repository at this point in the history
  • Loading branch information
shaqque committed Jul 9, 2019
1 parent 2b28e41 commit 4f30df2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client_it_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -330,12 +330,12 @@ func TestMinMaxRow(t *testing.T) {
if err != nil {
t.Fatalf("error executing min: %v", err)
}
min := response.Result().Value()
min := response.Result().CountItem().ID
response, err = client.Query(field.MaxRow())
if err != nil {
t.Fatalf("error executing max: %v", err)
}
max := response.Result().Value()
max := response.Result().CountItem().ID

if min != 10 {
t.Fatalf("Min should be 10, got %v instead", min)
Expand Down

0 comments on commit 4f30df2

Please sign in to comment.