mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 17:41:57 +08:00
Fix: filepath.Dir behaves differently between, result in failed uint test
This commit is contained in:
@@ -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,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user