mirror of https://github.com/tidwall/tile38.git
12 lines
271 B
Go
12 lines
271 B
Go
|
package redisx
|
||
|
|
||
|
import "testing"
|
||
|
|
||
|
func TestLookupCommandInfo(t *testing.T) {
|
||
|
for _, n := range []string{"watch", "WATCH", "wAtch"} {
|
||
|
if lookupCommandInfo(n) == (commandInfo{}) {
|
||
|
t.Errorf("LookupCommandInfo(%q) = CommandInfo{}, expected non-zero value", n)
|
||
|
}
|
||
|
}
|
||
|
}
|