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

This commit is contained in:
HFO4 2019-11-18 14:08:27 +08:00
parent 631c23f065
commit 5f7ece6d82

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