JRuby

Time#_load RubySpec failures

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: JRuby 1.2
  • Component/s: RubySpec
  • Labels:
    None
  • Number of attachments :
    1

Description

     [java] 16)
     [java] Time#_load loads a time object in the new format FAILED
     [java] Expected Mon Jan 25 22:55:00 UTC 1971
     [java]  to equal Sun Jan 16 02:01:01 UTC 2000
     [java] 
     [java] /Users/headius/projects/jruby/spec/ruby/1.8/core/time/_load_spec.rb:21
     [java] /Users/headius/projects/jruby/spec/ruby/1.8/core/time/_load_spec.rb:4
     [java] /Users/headius/projects/jruby/spec/ruby/1.8/core/time/_load_spec.rb:54:in `load'
     [java] 
     [java] 17)
     [java] Time#_load loads a time object in the old UNIX timestamp based format FAILED
     [java] Expected Sun Jun 30 17:22:23 UTC 2019
     [java]  to equal Sat Jan 15 20:01:01 -0600 2000
     [java] 
     [java] /Users/headius/projects/jruby/spec/ruby/1.8/core/time/_load_spec.rb:33
     [java] /Users/headius/projects/jruby/spec/ruby/1.8/core/time/_load_spec.rb:4
     [java] /Users/headius/projects/jruby/spec/ruby/1.8/core/time/_load_spec.rb:54:in `load'

Activity

Hide
Joseph LaFata added a comment -

files bug with rubyspec, this is a bad spec.

http://rubyspec.org/projects/mspec/issues/show?id=79

Show
Joseph LaFata added a comment - files bug with rubyspec, this is a bad spec. http://rubyspec.org/projects/mspec/issues/show?id=79
Hide
Thomas E Enebo added a comment -

We will keep this open until spec is fixed.

Show
Thomas E Enebo added a comment - We will keep this open until spec is fixed.
Hide
Joseph LaFata added a comment -

This patch fixes this bug and JRUBY-3146.

The specs won't be fixed until they're updated the the latest version from the rubyspec repository.

enjoy

Show
Joseph LaFata added a comment - This patch fixes this bug and JRUBY-3146. The specs won't be fixed until they're updated the the latest version from the rubyspec repository. enjoy
Hide
Charles Oliver Nutter added a comment -

Fixed and specs/tags updated in r8850. Thanks!

Show
Charles Oliver Nutter added a comment - Fixed and specs/tags updated in r8850. Thanks!

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: