Skip to content

Commit

Permalink
Merge pull request #11 from l0wl3vel/describe-method
Browse files Browse the repository at this point in the history
Enable Test for Describe function
  • Loading branch information
l0wl3vel authored Jan 22, 2024
2 parents 72c8a85 + 8014560 commit 566c936
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ This is a new Library for using the Bunny.net Object Storage Service in Go. It h

I wrote this because of a open PR implementing Bunny.net as Object Storage in JuiceFS and the maintainers were a bit hesitant merging code with many homebrew dependencies. This is using just three widespread dependencies (resty, uuid, logrus) and is about 100 lines of library code, excluding tests.

- The E2E test coverage is currently at about 60%
- The E2E test coverage is currently at about 70%
- Simple to use
- undocumented `Describe` funtion which allows to retrieve metadata for single, non-directory files.
- Implements Undocumented `Describe` funtion which allows to retrieve metadata for single, non-directory files.


## 🦾 Getting Started
Expand Down
2 changes: 1 addition & 1 deletion client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func TestMain(m *testing.M) {
m.Run()
}

func DescribeFile(t *testing.T) {
func TestDescribeFile(t *testing.T) {
_, name := UploadRandomFile1MB(t)
obj, err := bunnyclient.Describe(name)
if err != nil {
Expand Down

0 comments on commit 566c936

Please sign in to comment.