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.
19 lines
380 B
19 lines
380 B
package ugc |
|
|
|
import ( |
|
"encoding/json" |
|
"fmt" |
|
"testing" |
|
|
|
. "github.com/smartystreets/goconvey/convey" |
|
) |
|
|
|
func TestDao_PassedArcs(t *testing.T) { |
|
Convey("TestDao_PassedArcs", t, WithDao(func(d *Dao) { |
|
res, err := d.PassedArcs(ctx, []int64{76, 75}) |
|
So(err, ShouldBeNil) |
|
So(len(res), ShouldBeGreaterThan, 0) |
|
data, _ := json.Marshal(res) |
|
fmt.Println(string(data)) |
|
})) |
|
}
|
|
|