Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Pururun committed Jul 31, 2024
1 parent 9a8fe7a commit 4228ccc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,12 @@ class CreateCustomListDialogViewModelTest {
val customListName = CustomListName.fromString("list")
val customListId = CustomListId("1")
val locationNames = listOf("locationName")
val expectedResult = CustomListActionResultData.CreatedWithLocations(
customListName = customListName,
locationNames = locationNames,
undo = mockUndo
)
val expectedResult =
CustomListActionResultData.CreatedWithLocations(
customListName = customListName,
locationNames = locationNames,
undo = mockUndo
)
val viewModel = createViewModelWithLocationCode(GeoLocationId.Country("AB"))
coEvery { mockCustomListActionUseCase(any<CustomListAction.Create>()) } returns
mockCreated.right()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,10 +296,7 @@ class SelectLocationViewModelTest {
CustomListActionResultData.LocationAdded(
customListName = customListName,
locationName = location.name,
undo = CustomListAction.UpdateLocations(
id = customListId,
locations = emptyList()
)
undo = CustomListAction.UpdateLocations(id = customListId, locations = emptyList())
)

coEvery { mockCustomListActionUseCase(any<CustomListAction.UpdateLocations>()) } returns
Expand Down Expand Up @@ -337,10 +334,11 @@ class SelectLocationViewModelTest {
CustomListActionResultData.LocationRemoved(
customListName = customListName,
locationName = locationName,
undo = CustomListAction.UpdateLocations(
id = customListId,
locations = listOf(location.id)
)
undo =
CustomListAction.UpdateLocations(
id = customListId,
locations = listOf(location.id)
)
)
coEvery { mockCustomListActionUseCase(any<CustomListAction.UpdateLocations>()) } returns
LocationsChanged(
Expand Down

0 comments on commit 4228ccc

Please sign in to comment.