MCPcopy
hub / github.com/betty200744/ultimate-go / TestGetImage

Function TestGetImage

build-in-package/http/http_test.go:20–23  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

18 fmt.Println(string(result))
19}
20func TestGetImage(t *testing.T) {
21 res, _ := GetImage("https://bit.ly/2IRnmVm")
22 fmt.Println(res)
23}
24func TestDownload(t *testing.T) {
25 res, _ := Download("http://storage.xiaowugame.com/upload/image/5401ebbeaa94302f60bed3d06409139d.png")
26 fmt.Println(res)

Callers

nothing calls this directly

Calls 1

GetImageFunction · 0.85

Tested by

no test coverage detected