revert back to case sensitive because you cant hold A and a at the same time

This commit is contained in:
Bel LaPointe
2023-03-24 13:39:17 -06:00
parent 20488d2be8
commit ea0bb5d365
5 changed files with 42 additions and 177 deletions

View File

@@ -3,7 +3,6 @@ package key
import "testing"
func TestFromChar(t *testing.T) {
caseSensitive = false
if got := FromChar('1'); got != N1 {
t.Error(got)
}
@@ -22,11 +21,4 @@ func TestFromChar(t *testing.T) {
if got := ToChar(-1); got != '?' {
t.Error(got)
}
caseSensitive = true
if got := FromChar('a'); got != A {
t.Error(got)
}
if got := FromChar('A'); got != AUpper {
t.Error(got)
}
}