Skip to content

Commit

Permalink
Fix multithread test until Ruby 1.9.1 with real threads
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Mar 14, 2009
1 parent e60119f commit cd4b998
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_mem_cache.rb
Expand Up @@ -1111,9 +1111,9 @@ def test_crazy_multithreaded_access
assert cache.decr('c', 5) > 14
assert_equal 11, cache.get('b')
d = cache.get('d', true)
assert_match /\Aab+\Z/, d
assert_match /\Aab*\Z/, d
e = cache.get('e', true)
assert_match /\Ay+x\Z/, e
assert_match /\Ay*x\Z/, e
end
end
end
Expand Down

0 comments on commit cd4b998

Please sign in to comment.