1
mirror of https://github.com/rclone/rclone synced 2024-11-20 21:27:33 +01:00

fs: fix tests for *SepList

This commit is contained in:
Nick Craig-Wood 2018-08-21 10:58:24 +01:00
parent c6c74cb869
commit 9f671c5dd0

View File

@ -24,9 +24,9 @@ func ExampleSpaceSepList() {
fmt.Printf("%#v\n", l)
}
// Output:
// config.SpaceSepList{"remotea:test/dir", "remoteb:"}
// config.SpaceSepList{"remotea:test/space dir", "remoteb:"}
// config.SpaceSepList{"remotea:test/quote\"dir", "remoteb:"}
// fs.SpaceSepList{"remotea:test/dir", "remoteb:"}
// fs.SpaceSepList{"remotea:test/space dir", "remoteb:"}
// fs.SpaceSepList{"remotea:test/quote\"dir", "remoteb:"}
}
func ExampleCommaSepList() {
@ -40,9 +40,9 @@ func ExampleCommaSepList() {
fmt.Printf("%#v\n", l)
}
// Output:
// config.CommaSepList{"remotea:test/dir", "remoteb:"}
// config.CommaSepList{"remotea:test/space dir", "remoteb:"}
// config.CommaSepList{"remotea:test/quote\"dir", "remoteb:"}
// fs.CommaSepList{"remotea:test/dir", "remoteb:"}
// fs.CommaSepList{"remotea:test/space dir", "remoteb:"}
// fs.CommaSepList{"remotea:test/quote\"dir", "remoteb:"}
}
func TestSpaceSepListSet(t *testing.T) {