Project

General

Profile

Actions

Bug #480

closed

Failure: test_has_expires_eh(TestTupleBag)

Added by znz (Kazuhiro NISHIYAMA) over 16 years ago. Updated over 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
Backport:
[ruby-dev:35937]

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
Actions #1

Updated by Anonymous about 16 years ago

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

=begin
Applied in changeset r18956.
=end

Actions

Also available in: Atom PDF

Like0
Like0