golang-lib/web/file2/s3/fs_test.go

25 lines
492 B
Go
Raw Normal View History

2021-07-26 17:48:20 +02:00
package s3
import (
"testing"
"github.com/stretchr/testify/assert"
"dev.sum7.eu/genofire/golang-lib/web/file2"
)
// TODO: actually test, either using little dummies or using sth like play.min.io
func TestTypes(t *testing.T) {
assert := assert.New(t)
var fs file.FS
fs, err := New("127.0.0.1", false, "", "", "", "")
_ = fs
assert.Error(err)
}
func ExampleNew() {
New("play.min.io", true, "Q3AM3UQ867SPQQA43P2F", "zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG", "file-store", "")
}