mirror of
https://github.com/duke-git/lancet.git
synced 2026-02-12 08:42:29 +08:00
format code
This commit is contained in:
@@ -681,7 +681,7 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/duke-git/lancet/v2/fileutil"
|
"github.com/duke-git/lancet/fileutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
@@ -72,10 +72,3 @@ func TestTelnetConnected(t *testing.T) {
|
|||||||
result2 := IsTelnetConnected("www.baidu.com", "123")
|
result2 := IsTelnetConnected("www.baidu.com", "123")
|
||||||
assert.Equal(false, result2)
|
assert.Equal(false, result2)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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)
|
|
||||||
// }
|
|
||||||
|
|||||||
Reference in New Issue
Block a user