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

pull/247/head
HFO4 6 years ago
parent 631c23f065
commit 5f7ece6d82

@ -27,7 +27,7 @@ func TestHandler_Put(t *testing.T) {
}, },
{ {
file: ioutil.NopCloser(strings.NewReader("test input file")), file: ioutil.NopCloser(strings.NewReader("test input file")),
dst: "notexist:/S.TXT", dst: "/notexist:/S.TXT",
err: true, err: true,
}, },
} }

Loading…
Cancel
Save