Fix: filepath.Dir behaves differently between, result in failed uint test

pull/247/head
HFO4 2019-11-18 14:08:27 +08:00
parent 631c23f065
commit 5f7ece6d82
1 changed files with 1 additions and 1 deletions

View File

@ -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,
},
}