migrate int to int32

This commit is contained in:
Darien Raymond
2018-04-02 20:00:50 +02:00
parent 4de3f1adc1
commit 08dab81eb2
30 changed files with 100 additions and 104 deletions

View File

@@ -16,10 +16,10 @@ func TestBufferClear(t *testing.T) {
payload := "Bytes"
buffer.Append([]byte(payload))
assert(buffer.Len(), Equals, len(payload))
assert(buffer.Len(), Equals, int32(len(payload)))
buffer.Clear()
assert(buffer.Len(), Equals, 0)
assert(buffer.Len(), Equals, int32(0))
}
func TestBufferIsEmpty(t *testing.T) {