Skip to content

Commit

Permalink
Switch to Kotlin test API
Browse files Browse the repository at this point in the history
  • Loading branch information
janseeger committed Oct 25, 2024
1 parent 0723e24 commit 609a54f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package de.sipgate.dachlatten.flow

import app.cash.turbine.test
import kotlinx.coroutines.flow.Flow
import org.junit.jupiter.api.Assertions
import kotlin.test.assertEquals

internal suspend fun <T> assertFinalValueEquals(expected: T, actual: Flow<T>) = actual.test {
Assertions.assertEquals(expected, awaitItem())
assertEquals(expected, awaitItem())
awaitComplete()
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package de.sipgate.dachlatten.primitives

import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Test
import kotlin.test.Test
import kotlin.test.assertEquals

class ScreenReaderHelperTest {
@Test
Expand Down

0 comments on commit 609a54f

Please sign in to comment.