mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 14:50:56 +00:00
Fix tests for removed methods
This commit is contained in:
parent
5338f1cfbd
commit
2979e0e964
@ -104,13 +104,6 @@ func TestDeviceConfig(t *testing.T) {
|
||||
if !reflect.DeepEqual(cfg.Folders[0].DeviceIDs(), expectedDeviceIDs) {
|
||||
t.Errorf("%d: Incorrect DeviceIDs\n A: %#v\n E: %#v", i, cfg.Folders[0].DeviceIDs(), expectedDeviceIDs)
|
||||
}
|
||||
|
||||
if len(cfg.DeviceMap()) != len(expectedDevices) {
|
||||
t.Errorf("Unexpected number of DeviceMap() entries")
|
||||
}
|
||||
if len(cfg.FolderMap()) != len(expectedFolders) {
|
||||
t.Errorf("Unexpected number of FolderMap() entries")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user