mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 09:32:29 +08:00
alias: fix tests after parsing of ... change #4862
This was broken in ea8d13d841
fs: Fix parsing of .. when joining remotes
This commit is contained in:
parent
ea8d13d841
commit
bdc2278a30
|
@ -54,14 +54,15 @@ func TestNewFS(t *testing.T) {
|
|||
{"four/under four.txt", 9, false},
|
||||
}},
|
||||
{"four", "..", "", true, []testEntry{
|
||||
{"four", -1, true},
|
||||
{"one%.txt", 6, false},
|
||||
{"three", -1, true},
|
||||
{"two.html", 7, false},
|
||||
{"five", -1, true},
|
||||
{"under four.txt", 9, false},
|
||||
}},
|
||||
{"four", "../three", "", true, []testEntry{
|
||||
{"", "../../three", "", true, []testEntry{
|
||||
{"underthree.txt", 9, false},
|
||||
}},
|
||||
{"four", "../../five", "", true, []testEntry{
|
||||
{"underfive.txt", 6, false},
|
||||
}},
|
||||
} {
|
||||
what := fmt.Sprintf("test %d remoteRoot=%q, fsRoot=%q, fsList=%q", testi, test.remoteRoot, test.fsRoot, test.fsList)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user