Missing initializer in test

This commit is contained in:
Ugljesa Jovanovic committed 2021-07-27 12:33:22 +02:00
1 parent 9f11aa8af9
commit 65af7143fc
1 file changed
+3 -1
@@ -67,7 +67,8 @@ class AuthenticatedEncryptionWithAssociatedDataTest {
} }
@Test @Test
fun testEmptyAssociatedData() { fun testEmptyAssociatedData() = runTest {
LibsodiumInitializer.initializeWithCallback {
val message = ("Ladies and Gentlemen of the class of '99: If I could offer you " + val message = ("Ladies and Gentlemen of the class of '99: If I could offer you " +
"only one tip for the future, sunscreen would be it.").encodeToUByteArray() "only one tip for the future, sunscreen would be it.").encodeToUByteArray()
@@ -115,6 +116,7 @@ class AuthenticatedEncryptionWithAssociatedDataTest {
) )
} }
} }
}
@Test @Test
fun testEmptyMessage() = runTest { fun testEmptyMessage() = runTest {