Finish the first version of propfind.

This commit is contained in:
zicla
2019-04-20 22:21:49 +08:00
parent 0d5300abda
commit 50c025bd09
10 changed files with 438 additions and 28 deletions

View File

@ -37,7 +37,7 @@ func TestSlashClean(t *testing.T) {
"a/b/c",
}
for _, tc := range testCases {
got := slashClean(tc)
got := SlashClean(tc)
want := path.Clean("/" + tc)
if got != want {
t.Errorf("tc=%q: got %q, want %q", tc, got, want)