Skip to content

Commit

Permalink
use require.Len
Browse files Browse the repository at this point in the history
  • Loading branch information
rohenaz committed Sep 3, 2024
1 parent 2841631 commit fd77683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/big_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ func TestBigUmod(t *testing.T) {
func TestBigRandomInt(t *testing.T) {
b := util.NewRandomBigInt(32)
require.NotNil(t, b)
require.Equal(t, 32, len(b.Bytes()))
require.Len(t, b.Bytes(), 32)
}

0 comments on commit fd77683

Please sign in to comment.