1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-11 00:02:28 +08:00

doc: add document for DownloadFile and UploadFile

This commit is contained in:
dudaodong
2023-04-19 16:16:47 +08:00
parent 6d5ec807f7
commit 05997603a9
3 changed files with 121 additions and 12 deletions

View File

@@ -110,6 +110,13 @@ func TestEncodeUrl(t *testing.T) {
assert.Equal(expected, encodedUrl)
}
// func TestDownloadFile(t *testing.T) {
// assert := internal.NewAssert(t, "TestDownloadFile")
// err := DownloadFile("./lancet_logo.jpg", "https://picx.zhimg.com/v2-fc82a4199749de9cfb71e32e54f489d3_720w.jpg?source=172ae18b")
// assert.IsNil(err)
// }
func TestIsPingConnected(t *testing.T) {
assert := internal.NewAssert(t, "TestIsPingConnected")