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
82154ffa
Commit
82154ffa
authored
Sep 16, 2014
by
Aniruddh Chaturvedi
Committed by
Matt Stancliff
Sep 29, 2014
Browse files
Fix typo in unit test
Closes #2005
parent
fa8786f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
utils/lru/test-lru.rb
View file @
82154ffa
...
@@ -49,9 +49,9 @@ inserted = r.dbsize
...
@@ -49,9 +49,9 @@ inserted = r.dbsize
first_set_max_id
=
id
first_set_max_id
=
id
puts
"
#{
r
.
dbsize
}
keys inserted"
puts
"
#{
r
.
dbsize
}
keys inserted"
# Access keys sequen
c
ially
# Access keys sequen
t
ially
puts
"Access keys sequen
c
ially"
puts
"Access keys sequen
t
ially"
(
1
..
first_set_max_id
).
each
{
|
id
|
(
1
..
first_set_max_id
).
each
{
|
id
|
r
.
get
(
id
)
r
.
get
(
id
)
# sleep 0.001
# sleep 0.001
...
...
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