Skip to content

Commit

Permalink
test: closes #165
Browse files Browse the repository at this point in the history
  • Loading branch information
0xankit committed Dec 14, 2022
1 parent e0d80a7 commit 7fe7c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schema/data/base/heightData_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ func Test_heightData_Bytes(t *testing.T) {
want []byte
}{
{"+ve with ZeroHeight", fields{baseTypes.NewHeight(-1)}, baseTypes.NewHeight(-1).Bytes()},
{"+ve with nil", fields{nil}, []byte{}},
{"+ve with nil", fields{nil}, baseTypes.NewHeight(-1).Bytes()},
{"+ve", fields{baseTypes.NewHeight(100)}, baseTypes.NewHeight(100).Bytes()},
{"+ve with max int", fields{baseTypes.NewHeight(int64(^uint(0) >> 1))}, baseTypes.NewHeight(int64(^uint(0) >> 1)).Bytes()},
}
Expand Down

0 comments on commit 7fe7c7c

Please sign in to comment.