summaryrefslogtreecommitdiff
path: root/test/rinda
diff options
context:
space:
mode:
authorseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-30 14:53:15 +0000
committerseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-30 14:53:15 +0000
commita2a32f9f02cf0ee90b1d7c8bb35ce6e9f9eb222e (patch)
tree9ea99feec82f21ce882db47ad7400b35cc1902a9 /test/rinda
parent8eb12fc30e7faf824d708d0068f0f6605b76abdc (diff)
fix failures [ruby-dev:35937].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rinda')
-rw-r--r--test/rinda/test_tuplebag.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rinda/test_tuplebag.rb b/test/rinda/test_tuplebag.rb
index eccf372..e1ca1bd 100644
--- a/test/rinda/test_tuplebag.rb
+++ b/test/rinda/test_tuplebag.rb
@@ -134,16 +134,16 @@ class TestTupleBag < Test::Unit::TestCase
end
def test_has_expires_eh
- assert_equal false, @tb.has_expires?
+ assert !@tb.has_expires?
t = tup(:val, 1)
@tb.push t
- assert_equal true, @tb.has_expires?
+ assert @tb.has_expires?
t.renew Object.new
- assert_equal false, @tb.has_expires?
+ assert !@tb.has_expires?
end
def test_push