diff --git a/workflow-ui/core-android/src/test/java/com/squareup/workflow1/ui/WorkflowLayoutTest.kt b/workflow-ui/core-android/src/test/java/com/squareup/workflow1/ui/WorkflowLayoutTest.kt index 680207dfe..d12c98dc6 100644 --- a/workflow-ui/core-android/src/test/java/com/squareup/workflow1/ui/WorkflowLayoutTest.kt +++ b/workflow-ui/core-android/src/test/java/com/squareup/workflow1/ui/WorkflowLayoutTest.kt @@ -36,7 +36,9 @@ internal class WorkflowLayoutTest { private val workflowLayout = WorkflowLayout(context).apply { id = 42 setViewTreeOnBackPressedDispatcherOwner(object : OnBackPressedDispatcherOwner { - override fun getOnBackPressedDispatcher(): OnBackPressedDispatcher { error("yeah no") } + override fun getOnBackPressedDispatcher(): OnBackPressedDispatcher { + error("yeah no") + } override val lifecycle: Lifecycle get() = error("nope") }) }