From c21b2b322ecb9c56bbd9a54e7f315cb004b18bf8 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Tue, 5 May 2020 13:08:53 +0200 Subject: [PATCH] Update tests --- README.md | 2 +- client_test.go | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 898c3e2..4181a8c 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ if err != nil { err = c.SetUTF8() if err != nil { - log.Fatal(err) + log.Error(err) } // Do something with the FTP conn diff --git a/client_test.go b/client_test.go index ea0fa81..3e209c8 100644 --- a/client_test.go +++ b/client_test.go @@ -31,6 +31,11 @@ func testConn(t *testing.T, disableEPSV bool) { t.Fatal(err) } + err = c.SetUTF8() + if err != nil { + t.Error(err) + } + err = c.NoOp() if err != nil { t.Error(err)