feat: Allow access to the device map

This commit is contained in:
PapaTutuWawa committed 2022-08-11 12:02:21 +02:00
1 parent d0986a4608
commit a4589b6e09
2 files changed
+13 -4

No files matched your search

+1 -1
View File
@@ -93,7 +93,7 @@ void main() {
final oldDevice = await oldSession.getDevice();
final newDevice = await newSession.getDevice();
expect(await oldDevice.equals(newDevice), true);
expect(oldSession.getDeviceMap(), newSession.getDeviceMap());
expect(await oldSession.getDeviceMap(), await newSession.getDeviceMap());
expect(oldSession.getRatchetMap().length, newSession.getRatchetMap().length);
for (final session in oldSession.getRatchetMap().entries) {