forked from TrueCloudLab/rclone
fstests: fix TestFsName fails when using remote:with/path
This commit is contained in:
parent
3c97933416
commit
3220acc729
1 changed files with 1 additions and 1 deletions
|
@ -385,7 +385,7 @@ func Run(t *testing.T, opt *Opt) {
|
|||
t.Run("FsName", func(t *testing.T) {
|
||||
skipIfNotOk(t)
|
||||
got := remote.Name()
|
||||
want := remoteName
|
||||
want := remoteName[:strings.IndexRune(remoteName, ':')+1]
|
||||
if isLocalRemote {
|
||||
want = "local:"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue