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
354 B
21 lines
354 B
package service |
|
|
|
import ( |
|
"context" |
|
"testing" |
|
|
|
. "github.com/smartystreets/goconvey/convey" |
|
) |
|
|
|
func Test_ArcsRPC(t *testing.T) { |
|
Convey("ArcsRPC", t, func() { |
|
var ( |
|
aids = []int64{123, 345} |
|
) |
|
res, err := s.ArcsRPC(context.TODO(), aids) |
|
t.Logf("res:%+v", res) |
|
t.Logf("err:%+v", err) |
|
So(res, ShouldNotBeNil) |
|
So(err, ShouldBeNil) |
|
}) |
|
}
|
|
|