MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / TestNormalizeEvent_ShiftDigit

Function TestNormalizeEvent_ShiftDigit

internal/keys/parse_test.go:91–97  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

89}
90
91func TestNormalizeEvent_ShiftDigit(t *testing.T) {
92 ev := tcell.NewEventKey(tcell.KeyRune, '#', tcell.ModShift)
93 key, r, mod := NormalizeEvent(ev)
94 assert.Equal(t, tcell.KeyRune, key)
95 assert.Equal(t, '3', r)
96 assert.Equal(t, tcell.ModShift, mod)
97}

Callers

nothing calls this directly

Calls 1

NormalizeEventFunction · 0.85

Tested by

no test coverage detected