mirror of
https://github.com/rclone/rclone.git
synced 2025-01-09 15:58:28 +01:00
fstests: make tests pass when using -remote :backend:
This commit is contained in:
parent
25a0703b45
commit
86dcb54c38
@ -429,7 +429,7 @@ func Run(t *testing.T, opt *Opt) {
|
|||||||
t.Run("FsName", func(t *testing.T) {
|
t.Run("FsName", func(t *testing.T) {
|
||||||
skipIfNotOk(t)
|
skipIfNotOk(t)
|
||||||
got := remote.Name()
|
got := remote.Name()
|
||||||
want := remoteName[:strings.IndexRune(remoteName, ':')+1]
|
want := remoteName[:strings.LastIndex(remoteName, ":")+1]
|
||||||
if isLocalRemote {
|
if isLocalRemote {
|
||||||
want = "local:"
|
want = "local:"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user