summaryrefslogtreecommitdiff
path: root/test/rinda
diff options
context:
space:
mode:
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 eccf372125..e1ca1bde6c 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