Skip to content

Commit

Permalink
minor test suite bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
antirez committed Nov 4, 2010
1 parent a9b18e5 commit 4d7e125
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/support/util.tcl
Expand Up @@ -200,7 +200,7 @@ proc createComplexDataset {r ops {opt {}}} {
randpath {{*}$r sadd $k $v} \
{{*}$r srem $k $v} \
{
set otherset [findKeyWithType r set]
set otherset [findKeyWithType {*}$r set]
if {$otherset ne {}} {
randpath {
{*}$r sunionstore $k2 $k $otherset
Expand All @@ -216,7 +216,7 @@ proc createComplexDataset {r ops {opt {}}} {
randpath {{*}$r zadd $k $d $v} \
{{*}$r zrem $k $v} \
{
set otherzset [findKeyWithType r zset]
set otherzset [findKeyWithType {*}$r zset]
if {$otherzset ne {}} {
randpath {
{*}$r zunionstore $k2 2 $k $otherzset
Expand Down

0 comments on commit 4d7e125

Please sign in to comment.