e2e: test empty key for get command

This commit is contained in:
Gyu-Ho Lee 2016-05-13 11:30:36 -07:00
parent 3ec627d1a8
commit 002090daec

View File

@ -75,6 +75,8 @@ func getTest(cx ctlCtx) {
wkv []kv
}{
{[]string{"key1"}, []kv{{"key1", "val1"}}},
{[]string{"", "--prefix"}, kvs},
{[]string{"", "--from-key"}, kvs},
{[]string{"key", "--prefix"}, kvs},
{[]string{"key", "--prefix", "--limit=2"}, kvs[:2]},
{[]string{"key", "--prefix", "--order=ASCEND", "--sort-by=MODIFY"}, kvs},