Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
liumiuyong committed May 10, 2021
1 parent d555e08 commit deaa37d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/tcl/tests/unit/command.tcl
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
start_server {tags {"command"}} {
test {the total commands count is 155} {
test {kvrocks has 155 commands currently} {
r command count
} {155}

test {COMMAND info} {
set e [lindex [r command info get mget] 0]
test {acquire GET command info by COMMAND INFO} {
set e [lindex [r command info get] 0]
assert_equal [llength $e] 6
assert_equal [lindex $e 0] get
assert_equal [lindex $e 1] 2
Expand All @@ -19,7 +19,7 @@ start_server {tags {"command"}} {
assert_equal [llength $e] 6
}

test {COMMAND getkeys} {
test {get keys of commands by COMMAND GETKEYS} {
assert_equal {test} [r command getkeys get test]
assert_equal {test test2} [r command getkeys mget test test2]
assert_equal {test} [r command getkeys zadd test 1 m1]
Expand Down

0 comments on commit deaa37d

Please sign in to comment.