Split long line

This commit is contained in:
Benoit Marty 2025-09-13 00:54:44 +02:00
parent 61542f2080
commit 682e7928cf

View file

@ -77,8 +77,11 @@ class DefaultPreferencesEntryPointTest {
@Test @Test
fun `test initial target to nav target mapping`() { fun `test initial target to nav target mapping`() {
assertThat(PreferencesEntryPoint.InitialTarget.Root.toNavTarget()).isEqualTo(PreferencesFlowNode.NavTarget.Root) assertThat(PreferencesEntryPoint.InitialTarget.Root.toNavTarget())
assertThat(PreferencesEntryPoint.InitialTarget.NotificationSettings.toNavTarget()).isEqualTo(PreferencesFlowNode.NavTarget.NotificationSettings) .isEqualTo(PreferencesFlowNode.NavTarget.Root)
assertThat(PreferencesEntryPoint.InitialTarget.NotificationTroubleshoot.toNavTarget()).isEqualTo(PreferencesFlowNode.NavTarget.TroubleshootNotifications) assertThat(PreferencesEntryPoint.InitialTarget.NotificationSettings.toNavTarget())
.isEqualTo(PreferencesFlowNode.NavTarget.NotificationSettings)
assertThat(PreferencesEntryPoint.InitialTarget.NotificationTroubleshoot.toNavTarget())
.isEqualTo(PreferencesFlowNode.NavTarget.TroubleshootNotifications)
} }
} }