summaryrefslogtreecommitdiff
path: root/odb_test.go
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2015-06-08 04:11:21 +0200
committerCarlos Martín Nieto <[email protected]>2015-06-08 04:11:21 +0200
commit36e0a256fe79f87447bb730fda53e5cbc90eb47c (patch)
tree202ffb84de0f87dd072194b554e18dfd56af0fc4 /odb_test.go
parent85fde1fcfbc3fd6000b8fa1a4041b4c314a92b2f (diff)
Update to libgit2 b6011e29
Diffstat (limited to 'odb_test.go')
-rw-r--r--odb_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb_test.go b/odb_test.go
index 2fb6840..0d765b9 100644
--- a/odb_test.go
+++ b/odb_test.go
@@ -17,7 +17,7 @@ func TestOdbStream(t *testing.T) {
str := "hello, world!"
- stream, error := odb.NewWriteStream(len(str), ObjectBlob)
+ stream, error := odb.NewWriteStream(int64(len(str)), ObjectBlob)
checkFatal(t, error)
n, error := io.WriteString(stream, str)
checkFatal(t, error)