Files

18 lines
281 B
Go
Raw Permalink Normal View History

2019-04-22 20:46:32 +08:00
package dao
import (
"testing"
. "github.com/smartystreets/goconvey/convey"
)
// TestStockChanged
func TestDao_StockChanged(t *testing.T) {
Convey("StockChanged", t, func() {
once.Do(startService)
res := d.StockChanged([]int64{1015, 1016})
So(res, ShouldBeTrue)
})
}