Skip to content

Commit

Permalink
remove unneeded refreshes in test
Browse files Browse the repository at this point in the history
  • Loading branch information
dweymouth committed Jan 12, 2024
1 parent 9acf942 commit b08de53
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion widget/radio_group_extended_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ func TestRadioGroup_Extended_Unselected(t *testing.T) {
selected = sel
})
radio.Selected = selected
radio.Refresh() // sets up selectedIndex
extendedRadioGroupTestTapItem(t, radio, 0)

assert.Equal(t, "", selected)
Expand Down
1 change: 0 additions & 1 deletion widget/radio_group_internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ func TestRadioGroup_Unselected(t *testing.T) {
selected = sel
})
radio.Selected = selected
radio.Refresh() // sets up selectedIndex
radioGroupTestTapItem(t, radio, 0)

assert.Equal(t, "", selected)
Expand Down

0 comments on commit b08de53

Please sign in to comment.