18 lines
284 B
Go
18 lines
284 B
Go
package dao
|
|
|
|
import (
|
|
"context"
|
|
"testing"
|
|
|
|
. "github.com/smartystreets/goconvey/convey"
|
|
)
|
|
|
|
func TestDoubleCheck(t *testing.T) {
|
|
Convey("TestDoubleCheck", t, func() {
|
|
err := d.DoubleCheck(context.TODO(), 1)
|
|
if err != nil {
|
|
t.Errorf("test DoubleCheck err %v", err)
|
|
}
|
|
})
|
|
}
|