aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/object_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/object_test.go b/tests/object_test.go
index 15aa8f2..1575a31 100644
--- a/tests/object_test.go
+++ b/tests/object_test.go
@@ -90,7 +90,7 @@ func TestObjectUpload(t *testing.T) {
//test upload with io.Writer
obj = c.Object("upload5")
- err = obj.UploadWithWriter(nil, nil, func(w io.Writer) error {
+ err = obj.UploadFromWriter(nil, nil, func(w io.Writer) error {
_, err := w.Write(objectExampleContent)
return err
})