style: Fix linter warnings

This commit is contained in:
PapaTutuWawa 2022-08-16 13:46:08 +02:00
parent 5a097e4d2a
commit 800b53b11f
2 changed files with 5 additions and 5 deletions

View File

@ -5,6 +5,6 @@ line-length=72
[title-trailing-punctuation]
[title-hard-tab]
[title-match-regex]
regex=^(feat|fix|test|release|chore|security|docs|refactor):.*$
regex=^(feat|fix|test|release|chore|security|docs|refactor|style):.*$
[body-trailing-whitespace]
[body-first-line-empty]

View File

@ -444,7 +444,7 @@ void main() {
);
// Alice sends a message to those two Bobs
final aliceMessage = await aliceSession.encryptToJid(
await aliceSession.encryptToJid(
bobJid,
'Hallo Welt',
newSessions: [
@ -458,7 +458,7 @@ void main() {
final id2 = (await bobSession2.getDevice()).id;
await aliceSession.removeRatchet(bobJid, id1);
final map = await aliceSession.getRatchetMap();
final map = aliceSession.getRatchetMap();
expect(map.containsKey(RatchetMapKey(bobJid, id1)), false);
expect(map.containsKey(RatchetMapKey(bobJid, id2)), true);
final deviceMap = await aliceSession.getDeviceMap();
@ -481,7 +481,7 @@ void main() {
);
// Alice sends a message to those two Bobs
final aliceMessage = await aliceSession.encryptToJid(
await aliceSession.encryptToJid(
bobJid,
'Hallo Welt',
newSessions: [
@ -493,7 +493,7 @@ void main() {
final id = (await bobSession.getDevice()).id;
await aliceSession.removeRatchet(bobJid, id);
final map = await aliceSession.getRatchetMap();
final map = aliceSession.getRatchetMap();
expect(map.containsKey(RatchetMapKey(bobJid, id)), false);
final deviceMap = await aliceSession.getDeviceMap();
expect(deviceMap.containsKey(bobJid), false);