Skip to content

Commit

Permalink
Fix template so tests fail when not fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Oct 29, 2020
1 parent 6e96002 commit 5df118c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion widget/table_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func TestTable_Refresh(t *testing.T) {
table := NewTable(
func() (int, int) { return 5, 5 },
func() fyne.CanvasObject {
return NewLabel(displayText)
return NewLabel("template")
},
func(_ TableCellID, obj fyne.CanvasObject) {
obj.(*Label).SetText(displayText)
Expand Down

0 comments on commit 5df118c

Please sign in to comment.