From f5332c147be25b138294151b3dd57ec4e0f28e26 Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Fri, 28 May 2021 13:59:38 +0200 Subject: rename Object.UploadWithWriter to UploadFromWriter --- tests/object_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/object_test.go') 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 }) -- cgit v1.2.3