add test file
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package apimsg
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestGetRes(t *testing.T) {
|
||||
res := GetRes("Success", nil)
|
||||
if res.Status != 200 {
|
||||
t.Error("Status Code not match")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user