mtfosbot/module/apimsg/apimsg_test.go
2018-12-05 15:14:45 +08:00

13 lines
166 B
Go

package apimsg
import (
"testing"
)
func TestGetRes(t *testing.T) {
res := GetRes("Success", nil)
if res.Status != 200 {
t.Error("Status Code not match")
}
}