mtfosbot/module/apimsg/apimsg_test.go

13 lines
166 B
Go
Raw Normal View History

2018-12-05 07:14:45 +00:00
package apimsg
import (
"testing"
)
func TestGetRes(t *testing.T) {
res := GetRes("Success", nil)
if res.Status != 200 {
t.Error("Status Code not match")
}
}