|
|
@@ -91,7 +91,7 @@ func TestDeviceConfig(t *testing.T) {
|
|
|
expectedFolders := []FolderConfiguration{
|
|
|
{
|
|
|
ID: "test",
|
|
|
- RawPath: "testdata",
|
|
|
+ RawPath: "testdata" + string(filepath.Separator),
|
|
|
Devices: []FolderDeviceConfiguration{{DeviceID: device1}, {DeviceID: device4}},
|
|
|
ReadOnly: true,
|
|
|
RescanIntervalS: 600,
|
|
|
@@ -326,7 +326,7 @@ func TestIssue1262(t *testing.T) {
|
|
|
}
|
|
|
|
|
|
actual := cfg.Folders()["test"].RawPath
|
|
|
- expected := "e:"
|
|
|
+ expected := "e:/"
|
|
|
if runtime.GOOS == "windows" {
|
|
|
expected = `e:\`
|
|
|
}
|