diff --git a/.gitlint b/.gitlint index f48f1c0..6696ce3 100644 --- a/.gitlint +++ b/.gitlint @@ -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] diff --git a/test/omemo_test.dart b/test/omemo_test.dart index 27f072c..f5f1171 100644 --- a/test/omemo_test.dart +++ b/test/omemo_test.dart @@ -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);