mirror of
https://github.com/iLoveElysia/openbilibili.git
synced 2026-06-08 14:08:30 -05:00
19 lines
281 B
Go
19 lines
281 B
Go
|
|
package archive
|
||
|
|
|
||
|
|
import (
|
||
|
|
"context"
|
||
|
|
. "github.com/smartystreets/goconvey/convey"
|
||
|
|
"testing"
|
||
|
|
)
|
||
|
|
|
||
|
|
func Test_Addit(t *testing.T) {
|
||
|
|
var (
|
||
|
|
c = context.TODO()
|
||
|
|
err error
|
||
|
|
)
|
||
|
|
Convey("Test_Addit", t, WithDao(func(d *Dao) {
|
||
|
|
_, err = d.Addit(c, 23333)
|
||
|
|
So(err, ShouldBeNil)
|
||
|
|
}))
|
||
|
|
}
|