Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Commit

Permalink
test(chore): improve assert
Browse files Browse the repository at this point in the history
  • Loading branch information
hoank101 committed Jan 18, 2024
1 parent 112dcc6 commit 4945f7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cosmos/precompile/staking/staking_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ var _ = Describe("Staking", func() {
It("get all validator without pagination", func() {
vals, _, err := contract.GetValidators(ctx, nil)
Expect(err).ToNot(HaveOccurred())
Expect(len(vals)).To(Equal(2))
Expect(vals).To(HaveLen(2))
})
It("get all validator with pagination", func() {
// Create a pagination request
Expand Down

0 comments on commit 4945f7b

Please sign in to comment.