Skip to content

Commit c8849ed

Browse files
committed
Fix test was causing flaky window tests
1 parent 38f01ad commit c8849ed

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

compose/ui/ui/src/desktopTest/kotlin/androidx/compose/ui/window/DesktopCursorPositionTest.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ internal class DesktopCursorPositionTest {
8888
// so we need to convert it back to Dp and then to pixels again to compare with the original IntOffset
8989
val pxPointerPosition = pointerPosition?.toDpOffset(window?.density ?: Density(1f))
9090
assertThat(pxPointerPosition).isEqualTo(pxTargetOffset)
91-
exitTestApplication()
9291
}
9392

9493
private fun IntOffset.toDpOffset(density: Density): IntOffset {

0 commit comments

Comments
 (0)