Skip to content

Commit 18a21b2

Browse files
committed
Fix test was causing flaky window tests 3
1 parent 3169c97 commit 18a21b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • compose/ui/ui/src/desktopTest/kotlin/androidx/compose/ui/window

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ internal class WindowTestScope(
191191
exceptionHandler.throwIfCaught()
192192
}
193193

194-
internal fun moveMouse(x: Int, y: Int) = robot::mouseMove
194+
internal fun moveMouse(x: Int, y: Int) = robot.mouseMove(x, y)
195195
}
196196

197197
suspend fun Window.waitForFocusGain() {

0 commit comments

Comments
 (0)