1
0
mirror of https://github.com/labstack/echo.git synced 2025-06-25 00:47:01 +02:00

Using int64 instead of uint64 for response size

Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana
2015-05-15 15:24:47 -07:00
parent 1ee3bc23e3
commit d90395cf2b
3 changed files with 8 additions and 8 deletions

View File

@ -34,7 +34,7 @@ func TestResponse(t *testing.T) {
// Write & Size
s := "echo"
r.Write([]byte(s))
if r.Size() != len(s) {
if r.Size() != int64(len(s)) {
t.Errorf("size should be %d", len(s))
}
}