Skip to content

Commit

Permalink
Merge pull request #1 from lufia/fix/broken_test_typemismatch
Browse files Browse the repository at this point in the history
cast expected remainingLength type to int32
  • Loading branch information
zhenjl committed Oct 17, 2015
2 parents 47d04a9 + b9b00bd commit 2b7ca1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion header_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func TestMessageHeaderFields(t *testing.T) {

header.SetRemainingLength(33)

require.Equal(t, 33, header.RemainingLength())
require.Equal(t, int32(33), header.RemainingLength())

err := header.SetRemainingLength(268435456)

Expand Down

0 comments on commit 2b7ca1a

Please sign in to comment.