mirror of
https://github.com/duke-git/lancet.git
synced 2026-02-10 15:52:27 +08:00
test: add some unit test function for convertor, random, slice, and formatter
This commit is contained in:
@@ -11,6 +11,11 @@ import (
|
||||
)
|
||||
|
||||
func TestHttpGet(t *testing.T) {
|
||||
_, e := HttpGet("", nil)
|
||||
if e == nil {
|
||||
t.FailNow()
|
||||
}
|
||||
|
||||
url := "https://gutendex.com/books?"
|
||||
queryParams := make(map[string]interface{})
|
||||
queryParams["ids"] = "1"
|
||||
|
||||
Reference in New Issue
Block a user