(t *testing.T)
| 85 | } |
| 86 | |
| 87 | func TestButtonShortcutKey(t *testing.T) { |
| 88 | b := NewBody() |
| 89 | bt := NewButton(b).SetKey(keymap.Open) |
| 90 | tt, _ := bt.WidgetTooltip(image.Point{}) |
| 91 | assert.Equal(t, "[Ctrl+O]", tt) |
| 92 | } |
| 93 | |
| 94 | func TestButtonShortcutMenu(t *testing.T) { |
| 95 | b := NewBody() |
nothing calls this directly
no test coverage detected