From 5f7ece6d82b8c1a782781cf9d4a6f2cc5e226cde Mon Sep 17 00:00:00 2001 From: HFO4 <912394456@qq.com> Date: Mon, 18 Nov 2019 14:08:27 +0800 Subject: [PATCH] Fix: filepath.Dir behaves differently between, result in failed uint test --- pkg/filesystem/local/handller_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/filesystem/local/handller_test.go b/pkg/filesystem/local/handller_test.go index ba1a9d1..653baad 100644 --- a/pkg/filesystem/local/handller_test.go +++ b/pkg/filesystem/local/handller_test.go @@ -27,7 +27,7 @@ func TestHandler_Put(t *testing.T) { }, { file: ioutil.NopCloser(strings.NewReader("test input file")), - dst: "notexist:/S.TXT", + dst: "/notexist:/S.TXT", err: true, }, }