style: Formattiing issues

This commit is contained in:
2023-06-12 19:37:45 +02:00
parent 3783ec6f13
commit 3376929c24
13 changed files with 188 additions and 71 deletions

View File

@@ -813,9 +813,10 @@ void main() {
expect(aliceResult.isSuccess(1), false);
expect(
aliceResult.jidEncryptionErrors[bobJid]
is NoKeyMaterialAvailableException,
true,);
aliceResult.jidEncryptionErrors[bobJid]
is NoKeyMaterialAvailableException,
true,
);
});
test('Test sending a message two two JIDs with failed lookups', () async {
@@ -866,9 +867,10 @@ void main() {
expect(aliceResult.isSuccess(2), true);
expect(
aliceResult.jidEncryptionErrors[cocoJid]
is NoKeyMaterialAvailableException,
true,);
aliceResult.jidEncryptionErrors[cocoJid]
is NoKeyMaterialAvailableException,
true,
);
// Bob decrypts it
final bobResult = await bobManager.onIncomingStanza(

View File

@@ -73,8 +73,11 @@ void main() {
await x3dhFromBundle(bundleBob, ikAlice);
} catch (e) {
exception = true;
expect(e is InvalidSignatureException, true,
reason: 'Expected InvalidSignatureException, but got $e',);
expect(
e is InvalidSignatureException,
true,
reason: 'Expected InvalidSignatureException, but got $e',
);
}
expect(exception, true, reason: 'Expected test failure');