Skip to content

Commit

Permalink
Merge pull request android#977 from SimonMarquis/fix/compiler-warnings
Browse files Browse the repository at this point in the history
Fix compiler warning: Remove single lambda parameter declaration
  • Loading branch information
dturner authored Oct 9, 2023
2 parents 6fba636 + 245723b commit aee921e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class FilterChipScreenshotTests() {

@Test
fun filterChip_multipleThemes() {
composeTestRule.captureMultiTheme("FilterChip") { description ->
composeTestRule.captureMultiTheme("FilterChip") {
Surface {
NiaFilterChip(selected = false, onSelectedChange = {}) {
Text("Unselected chip")
Expand All @@ -63,7 +63,7 @@ class FilterChipScreenshotTests() {

@Test
fun filterChip_multipleThemes_selected() {
composeTestRule.captureMultiTheme("FilterChip", "FilterChipSelected") { description ->
composeTestRule.captureMultiTheme("FilterChip", "FilterChipSelected") {
Surface {
NiaFilterChip(selected = true, onSelectedChange = {}) {
Text("Selected Chip")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ class IconButtonScreenshotTests {

@Test
fun iconButton_multipleThemes() {
composeTestRule.captureMultiTheme("IconButton") { description ->
composeTestRule.captureMultiTheme("IconButton") {
NiaIconToggleExample(false)
}
}

@Test
fun iconButton_unchecked_multipleThemes() {
composeTestRule.captureMultiTheme("IconButton", "IconButtonUnchecked") { description ->
composeTestRule.captureMultiTheme("IconButton", "IconButtonUnchecked") {
Surface {
NiaIconToggleExample(true)
}
Expand Down

0 comments on commit aee921e

Please sign in to comment.