From: Kazuhiro NISHIYAMA Date: 2008-08-24T01:29:22+09:00 Subject: [ruby-dev:35937] [Bug #480] Failure: test_has_expires_eh(TestTupleBag) Bug #480: Failure: test_has_expires_eh(TestTupleBag) http://redmine.ruby-lang.org/issues/show/480 起票者: Kazuhiro NISHIYAMA ステータス: Open, 優先度: Normal たぶんすべての環境で出ている以下のFailureですが、 test/rinda/test_tuplebag.rbで def test_has_expires_eh assert_equal false, @tb.has_expires? となっていて、has_expires?はlib/rinda/tuplespace.rbで def has_expires? @enum.find do |tuple| tuple.expires end end となっていて、Enumerable#findは見つかった要素またはnilを返すため、 falseは返ってこないからのようです。 1) Failure: test_has_expires_eh(TestTupleBag) [/home/akr/chkbuild/tmp/build/ruby-trunk/20080823T232503/ruby/test/rinda/test_tuplebag.rb:137]: expected but was . ---------------------------------------- http://redmine.ruby-lang.org