Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
cc582a77
Commit
cc582a77
authored
May 09, 2009
by
antirez
Browse files
added tests for vararg DEL
parent
5109cdff
Changes
1
Hide whitespace changes
Inline
Side-by-side
test-redis.tcl
View file @
cc582a77
...
...
@@ -65,6 +65,13 @@ proc main {server port} {
$r get x
}
{}
test
{
Vararg DEL
}
{
$r set foo1 a
$r set foo2 b
$r set foo3 c
list
[
$r
del foo1 foo2 foo3 foo4
]
[
$r
mget foo1 foo2 foo3
]
}
{
3
{{}
{}
{}}}
test
{
KEYS with pattern
}
{
foreach key
{
key_x key_y key_z foo_a foo_b foo_c
}
{
$r set $key hello
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment