[Ruby 1.9 - Bug #4454] [Assigned] Fails test by ext/date

Issue #4454 has been reported by Yui NARUSE.


Bug #4454: Fails test by ext/date

Author: Yui NARUSE
Status: Assigned
Priority: Normal
Assignee: tadayoshi funaba
Category: ext
Target version:
ruby -v: ruby 1.9.3dev (2011-03-01 trunk 30991) [x86_64-freebsd8.2]

ext/date 導入以降、以下の2テストが失敗します。

  1. Failure:
    test_sub(TestDate)
    [/home/chkbuild/build/ruby-trunk/20110228T230101Z/ruby/test/date/test_date.rb:44]:
    <“#<DateSub: -4712-01-01 (-1/2,0,2299161)>”> expected but was
    <“#<DateSub[R]: -4712-01-01 (-1/2,0,2299161)>”>.

  2. Failure:
    test__attr(TestDateAttr)
    [/home/chkbuild/build/ruby-trunk/20110228T230101Z/ruby/test/date/test_date_attr.rb:12]:
    Expected /#<Date\d?: 1965-05-23 (4877807/2,0,2299161)>/ to match
    “#<Date[L]: 1965-05-23 (2438904j,0,2299161)>”.

Issue #4454 has been updated by tadayoshi funaba.

Status changed from Assigned to Closed


Bug #4454: Fails test by ext/date

Author: Yui NARUSE
Status: Closed
Priority: Normal
Assignee: tadayoshi funaba
Category: ext
Target version:
ruby -v: ruby 1.9.3dev (2011-03-01 trunk 30991) [x86_64-freebsd8.2]

ext/date 導入以降、以下の2テストが失敗します。

  1. Failure:
    test_sub(TestDate)
    [/home/chkbuild/build/ruby-trunk/20110228T230101Z/ruby/test/date/test_date.rb:44]:
    <“#<DateSub: -4712-01-01 (-1/2,0,2299161)>”> expected but was
    <“#<DateSub[R]: -4712-01-01 (-1/2,0,2299161)>”>.

  2. Failure:
    test__attr(TestDateAttr)
    [/home/chkbuild/build/ruby-trunk/20110228T230101Z/ruby/test/date/test_date_attr.rb:12]:
    Expected /#<Date\d?: 1965-05-23 (4877807/2,0,2299161)>/ to match
    “#<Date[L]: 1965-05-23 (2438904j,0,2299161)>”.