Bug #480

Failure: test_has_expires_eh(TestTupleBag)

Added by Kazuhiro NISHIYAMA almost 7 years ago. Updated about 4 years ago.

[ruby-dev:35937]
Status:Closed
Priority:Normal
Assignee:-
ruby -v: Backport:

Description

=begin
たぶんすべての環境で出ている以下の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
.
=end

History

#1 Updated by Anonymous almost 7 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r18956.
=end

Also available in: Atom PDF