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
c4d32c03
Commit
c4d32c03
authored
Jul 31, 2014
by
Matt Stancliff
Committed by
antirez
Oct 06, 2014
Browse files
Fix spelling in some test cases
parent
919a4c31
Changes
4
Hide whitespace changes
Inline
Side-by-side
tests/integration/aof.tcl
View file @
c4d32c03
...
...
@@ -169,7 +169,7 @@ tags {"aof"} {
assert_equal 1
[
is_alive $srv
]
}
test
"Fixed AOF: Keyspace should contain values that were parsable"
{
test
"Fixed AOF: Keyspace should contain values that were pars
e
able"
{
set client
[
redis
[
dict get $srv host
]
[
dict get $srv port
]]
wait_for_condition 50 100
{
[
catch
{
$client
ping
}
e
]
== 0
...
...
tests/support/test.tcl
View file @
c4d32c03
...
...
@@ -29,7 +29,7 @@ proc assert_error {pattern code} {
if
{[
catch
{
uplevel 1 $code
}
error
]}
{
assert_match $pattern $error
}
else
{
error
"assertion:Expected an error but nothing was ca
tched
"
error
"assertion:Expected an error but nothing was ca
ught
"
}
}
...
...
tests/unit/basic.tcl
View file @
c4d32c03
...
...
@@ -83,7 +83,7 @@ start_server {tags {"basic"}} {
for
{
set x 9999
}
{
$x
>= 0
}
{
incr x -1
}
{
set val
[
r get $x
]
if
{
$val
ne $x
}
{
set err
"Ele
e
mnt at position
$x
is
$val
instead of
$x
"
set err
"Elem
e
nt at position
$x
is
$val
instead of
$x
"
break
}
}
...
...
tests/unit/sort.tcl
View file @
c4d32c03
...
...
@@ -179,7 +179,7 @@ start_server {
assert_equal
[
lsort -real $floats
]
[
r sort mylist
]
}
test
"SORT with STORE returns zero if result is empty (github isse 224)"
{
test
"SORT with STORE returns zero if result is empty (github iss
u
e 224)"
{
r flushdb
r sort foo store bar
}
{
0
}
...
...
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