Skip to content

Commit

Permalink
[alibaba_test/ListFolders] fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alice-sawatzky committed Aug 10, 2020
1 parent 5e237d9 commit c64ceb7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions alibaba_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,13 @@ func (suite *AlibabaTestSuite) TestListObjects() {
}

func (suite *AlibabaTestSuite) TestListFolders() {
_, err := suite.BrokenAlibabaOSSBackend.ListObjects("")
_, err := suite.BrokenAlibabaOSSBackend.ListFolders("")
suite.NotNil(err, "cannot list folders with bad bucket")

objs, err := suite.NoPrefixAlibabaOSSBackend.ListObjects("")
_, err := suite.NoPrefixAlibabaOSSBackend.ListFolders("")
suite.Nil(err, "can list folders with good bucket, no prefix")

objs, err = suite.SSEAlibabaOSSBackend.ListObjects("")
_, err = suite.SSEAlibabaOSSBackend.ListFolders("")
suite.Nil(err, "can list objects with good bucket, SSE")
}

Expand Down

0 comments on commit c64ceb7

Please sign in to comment.