diff --git a/navigation-material/src/androidTest/java/com/google/accompanist/navigation.material/SheetContentHostTest.kt b/navigation-material/src/androidTest/java/com/google/accompanist/navigation.material/SheetContentHostTest.kt index 4d82f692f..436a429e9 100644 --- a/navigation-material/src/androidTest/java/com/google/accompanist/navigation.material/SheetContentHostTest.kt +++ b/navigation-material/src/androidTest/java/com/google/accompanist/navigation.material/SheetContentHostTest.kt @@ -101,7 +101,7 @@ internal class SheetContentHostTest { onSheetDismissed = { entry -> dismissedBackStackEntries.add(entry) } ) - assertThat(sheetState.currentValue == ModalBottomSheetValue.Expanded) + assertThat(sheetState.currentValue == ModalBottomSheetValue.Expanded).isTrue() composeTestRule.onNodeWithTag(bodyContentTag).performClick() composeTestRule.runOnIdle { assertWithMessage("Sheet is visible") @@ -126,7 +126,7 @@ internal class SheetContentHostTest { onSheetDismissed = { entry -> dismissedBackStackEntries.add(entry) } ) - assertThat(sheetState.currentValue == ModalBottomSheetValue.Expanded) + assertThat(sheetState.currentValue == ModalBottomSheetValue.Expanded).isTrue() composeTestRule.onNodeWithTag(bodyContentTag).performClick() composeTestRule.runOnIdle { assertWithMessage("Sheet is not visible")