mirror of https://github.com/cloudreve/Cloudreve
Fix: filepath.Dir behaves differently between, result in failed uint test
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…
Reference in New Issue