Modern Apps git

← Modern-Apps.git

library: fix the BasicText import in GameResultOverlayTest (#ux-audit)

Commit
2ef2331df6df92b9ea2e10a7599b452e9400c85b
Author
Vayun Mathur <[email protected]>
When
2026-11-13 03:19 UTC (23 days ago)
Parents
ffa1219
Follow-up to "make the result overlay modal for TalkBack and keyboard"
(c9ffc4023). Its TalkBack test imported BasicText from
androidx.compose.ui.text instead of androidx.compose.foundation.text,
so :library:ui:compileDebugUnitTestKotlin failed and no library/ui
unit test could run. Test-only change; no production code touched.

Verification: :library:ui:testDebugUnitTest compiles and runs.

Diff

library/ui/src/test/java/com/vayunmathur/library/ui/game/GameResultOverlayTest.kt
diff --git a/library/ui/src/test/java/com/vayunmathur/library/ui/game/GameResultOverlayTest.kt b/library/ui/src/test/java/com/vayunmathur/library/ui/game/GameResultOverlayTest.ktindex 123bfe2bcd..5ed4f39264 100644--- a/library/ui/src/test/java/com/vayunmathur/library/ui/game/GameResultOverlayTest.kt+++ b/library/ui/src/test/java/com/vayunmathur/library/ui/game/GameResultOverlayTest.kt@@ -26,7 +26,7 @@ import androidx.compose.ui.test.onNodeWithTag import androidx.compose.ui.test.onNodeWithText import androidx.compose.ui.test.performClick import androidx.compose.ui.test.performTouchInput-import androidx.compose.ui.text.BasicText+import androidx.compose.foundation.text.BasicText import androidx.test.core.app.ApplicationProvider import com.vayunmathur.library.ui.R as UiR import org.junit.Rule