add test file
This commit is contained in:
1 parent
51c3ed0e66
commit
99c61b5af1
3 files changed
+39
-1
No files matched your search
@@ -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