You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
390 B
21 lines
390 B
package dao |
|
|
|
import ( |
|
"context" |
|
"testing" |
|
|
|
"github.com/smartystreets/goconvey/convey" |
|
) |
|
|
|
func TestDaoUploadBfs(t *testing.T) { |
|
convey.Convey("UploadBfs", t, func(ctx convey.C) { |
|
var ( |
|
c = context.Background() |
|
fileName = "" |
|
bs = []byte("123") |
|
) |
|
ctx.Convey("When everything gose positive", func(ctx convey.C) { |
|
testDao.UploadBfs(c, fileName, bs) |
|
}) |
|
}) |
|
}
|
|
|