Fix alt-, for --expect

This commit is contained in:
Junegunn Choi committed 2020-12-31 03:38:46 +09:00
1 parent 408c04f25f
commit 7136cfc68b
2 files changed
+6

No files matched your search

+4
View File
@@ -225,6 +225,10 @@ func TestParseKeysWithComma(t *testing.T) {
pairs = parseKeyChords(",,,", "")
checkN(len(pairs), 1)
check(pairs, tui.Key(','), ",")
pairs = parseKeyChords(",ALT-,,", "")
checkN(len(pairs), 1)
check(pairs, tui.AltKey(','), "ALT-,")
}
func TestBind(t *testing.T) {