summaryrefslogtreecommitdiffstats
path: root/src/options_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/options_test.go')
-rw-r--r--src/options_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/options_test.go b/src/options_test.go
index 4311aa4d..b1068964 100644
--- a/src/options_test.go
+++ b/src/options_test.go
@@ -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) {