From ad2c78231764c6cd945a772877fdb5efe05c5ed8 Mon Sep 17 00:00:00 2001 From: Jaehwa Noh Date: Wed, 21 Feb 2024 21:43:05 +0900 Subject: [PATCH] Change org.junit.Assert.assertNull to kotlin.test.assertNull. Change-Id: I60083b0b9a1dcaed84d957b49c91e5163d5659d6 --- .../apps/nowinandroid/feature/search/SearchViewModelTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feature/search/src/test/kotlin/com/google/samples/apps/nowinandroid/feature/search/SearchViewModelTest.kt b/feature/search/src/test/kotlin/com/google/samples/apps/nowinandroid/feature/search/SearchViewModelTest.kt index e68ea8d67..2aeb82123 100644 --- a/feature/search/src/test/kotlin/com/google/samples/apps/nowinandroid/feature/search/SearchViewModelTest.kt +++ b/feature/search/src/test/kotlin/com/google/samples/apps/nowinandroid/feature/search/SearchViewModelTest.kt @@ -37,12 +37,12 @@ import kotlinx.coroutines.flow.first import kotlinx.coroutines.launch import kotlinx.coroutines.test.UnconfinedTestDispatcher import kotlinx.coroutines.test.runTest -import org.junit.Assert.assertNull import org.junit.Before import org.junit.Rule import org.junit.Test import kotlin.test.assertEquals import kotlin.test.assertIs +import kotlin.test.assertNull /** * To learn more about how this test handles Flows created with stateIn, see