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.
26 lines
549 B
26 lines
549 B
package like |
|
|
|
import ( |
|
"context" |
|
"testing" |
|
|
|
"fmt" |
|
|
|
"github.com/smartystreets/goconvey/convey" |
|
) |
|
|
|
func TestRawActSubjectProtocol(t *testing.T) { |
|
convey.Convey("RawLikeMissionBuff", t, func(ctx convey.C) { |
|
var ( |
|
c = context.Background() |
|
sid = int64(10350) |
|
) |
|
ctx.Convey("When everything goes positive", func(ctx convey.C) { |
|
res, err := d.RawActSubjectProtocol(c, sid) |
|
ctx.Convey("Then err should be nil.ID should not be nil.", func(ctx convey.C) { |
|
ctx.So(err, convey.ShouldBeNil) |
|
fmt.Printf("%v", res) |
|
}) |
|
}) |
|
}) |
|
}
|
|
|