Lambda parameters in a composable function should be in present tense, not past tense.
https://mrmans0n.github.io/compose-rules/rules/#naming-parameters-properly
This commit is contained in:
parent
b8f3b66d0e
commit
87689d787e
250 changed files with 1698 additions and 1698 deletions
|
|
@ -156,7 +156,7 @@ class JoinRoomLoadedFlowNodeTest {
|
|||
)
|
||||
val roomFlowNodeTestHelper = roomFlowNode.parentNodeTestHelper()
|
||||
// WHEN
|
||||
fakeMessagesEntryPoint.callback?.onRoomDetailsClicked()
|
||||
fakeMessagesEntryPoint.callback?.onRoomDetailsClick()
|
||||
// THEN
|
||||
roomFlowNodeTestHelper.assertChildHasLifecycle(JoinedRoomLoadedFlowNode.NavTarget.RoomDetails, Lifecycle.State.CREATED)
|
||||
val roomDetailsNode = roomFlowNode.childNode(JoinedRoomLoadedFlowNode.NavTarget.RoomDetails)!!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue