summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--test/rinda/test_tuplebag.rb6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index b75638dfb0..cfaa2006de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sat Aug 30 23:51:01 2008 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
+
+ * test/rinda/test_tuplebag.rb (test_has_expires_eh): fix failures
+ [ruby-dev:35937].
+
Sat Aug 30 23:38:00 2008 Tanaka Akira <akr@fsij.org>
* ext/dl/test/test_import.rb: fix character code.
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