Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
68254919
Commit
68254919
authored
Aug 01, 2010
by
Pieter Noordhuis
Browse files
Fix assertion function on value encoding
parent
0c7a9dec
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/support/test.tcl
View file @
68254919
...
...
@@ -36,8 +36,8 @@ proc assert_encoding {enc key} {
# Swapped out values don't have an encoding, so make sure that
# the value is swapped in before checking the encoding.
set dbg
[
r debug object $key
]
while
{[
string match
"* swapped:*"
$dbg
]}
{
[
r debug swapin $key
]
while
{[
string match
"* swapped
at
:*"
$dbg
]}
{
r debug swapin $key
set dbg
[
r debug object $key
]
}
assert_match
"* encoding:
$enc
*"
$dbg
...
...
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