Update tests

This commit is contained in:
CrazyMax 2020-05-05 13:08:53 +02:00
parent 60012218fd
commit c21b2b322e
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
2 changed files with 6 additions and 1 deletions

View File

@ -28,7 +28,7 @@ if err != nil {
err = c.SetUTF8() err = c.SetUTF8()
if err != nil { if err != nil {
log.Fatal(err) log.Error(err)
} }
// Do something with the FTP conn // Do something with the FTP conn

View File

@ -31,6 +31,11 @@ func testConn(t *testing.T, disableEPSV bool) {
t.Fatal(err) t.Fatal(err)
} }
err = c.SetUTF8()
if err != nil {
t.Error(err)
}
err = c.NoOp() err = c.NoOp()
if err != nil { if err != nil {
t.Error(err) t.Error(err)