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
1 changed files with 6 additions and 5 deletions
|
@ -54,14 +54,15 @@ func TestNewFS(t *testing.T) {
|
||||||
{"four/under four.txt", 9, false},
|
{"four/under four.txt", 9, false},
|
||||||
}},
|
}},
|
||||||
{"four", "..", "", true, []testEntry{
|
{"four", "..", "", true, []testEntry{
|
||||||
{"four", -1, true},
|
{"five", -1, true},
|
||||||
{"one%.txt", 6, false},
|
{"under four.txt", 9, false},
|
||||||
{"three", -1, true},
|
|
||||||
{"two.html", 7, false},
|
|
||||||
}},
|
}},
|
||||||
{"four", "../three", "", true, []testEntry{
|
{"", "../../three", "", true, []testEntry{
|
||||||
{"underthree.txt", 9, false},
|
{"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)
|
what := fmt.Sprintf("test %d remoteRoot=%q, fsRoot=%q, fsList=%q", testi, test.remoteRoot, test.fsRoot, test.fsList)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue