Skip to content

Commit

Permalink
[FIX] test ineffectual assignment error
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas-ggd committed May 28, 2024
1 parent 86560db commit 96f17ea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions metakit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ func TestPaginate(t *testing.T) {
t.Fatalf("failed to connect to database: %v", err)
}

paginate := Paginate(&test.metadata)
db = paginate(db)
_ = Paginate(&test.metadata)(db)

test.metadata.setPage()
test.metadata.setPageSize()
Expand Down

0 comments on commit 96f17ea

Please sign in to comment.