Port send file mapping tests

This commit is contained in:
Kovid Goyal
2023-04-29 09:17:14 +05:30
parent be7f276d3e
commit 55bbf175c6
5 changed files with 109 additions and 52 deletions

View File

@@ -315,7 +315,7 @@ func Commonpath(paths ...string) (longest_prefix string) {
a = a[na:]
b = b[nb:]
}
longest_prefix = a[:sz]
longest_prefix = paths[0][:sz]
}
return
}