From 64bebce57ea2fcbd7ef856edff67fb32c1ecdc25 Mon Sep 17 00:00:00 2001 From: menglingwei Date: Sat, 11 Dec 2021 15:35:06 +0800 Subject: [PATCH] add test case --- oss/client_transport_test.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/oss/client_transport_test.go b/oss/client_transport_test.go index 5e9ed777..4927c5ee 100644 --- a/oss/client_transport_test.go +++ b/oss/client_transport_test.go @@ -35,6 +35,13 @@ func Test_ClientTransPort_CreateBucket(t *testing.T) { t.Logf("CreateBucket Success") } + // set bucket ack + err = client.SetBucketACL("abc", ACLPrivate) + if err != nil { + t.Fatalf("SetBucketACL Error %v", err) + } else { + t.Logf("SetBucketACL Success") + } } func Test_ClientTransPort_DeleteBucket(t *testing.T) {