mirror of
https://github.com/krau/SaveAny-Bot.git
synced 2026-09-07 00:27:36 +08:00
feat: add test case for nested directory file writing
This commit is contained in:
@@ -78,6 +78,10 @@ func TestWriteFile(t *testing.T) {
|
|||||||
remotePath: "hello.txt",
|
remotePath: "hello.txt",
|
||||||
content: "Hello webdav",
|
content: "Hello webdav",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
remotePath: "//nested/dir/test.txt",
|
||||||
|
content: "Nested file",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
remotePath: "nested/dir/test.txt",
|
remotePath: "nested/dir/test.txt",
|
||||||
content: "Nested file",
|
content: "Nested file",
|
||||||
|
|||||||
Reference in New Issue
Block a user