JRuby

Kernel.srand calls #to_i on number

Details

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

Description

Kernel.srand calls #to_i on number FAILED
Expected 1231536287104
 to equal 3

spec/ruby/core/kernel/srand_spec.rb:28
spec/ruby/core/kernel/srand_spec.rb:4
spec/ruby/core/kernel/srand_spec.rb:54:in `load'

Activity

Hide
Joseph LaFata added a comment -

this patch also fixes a String#% spec
and it changes bench_io_foreach.rb to have fewer but longer lines.

enjoy

Show
Joseph LaFata added a comment - this patch also fixes a String#% spec and it changes bench_io_foreach.rb to have fewer but longer lines. enjoy
Hide
Charles Oliver Nutter added a comment -

Thanks again Joseph! At this rate you'll be a committer in no time Committed and updated tags in r8848.

Show
Charles Oliver Nutter added a comment - Thanks again Joseph! At this rate you'll be a committer in no time Committed and updated tags in r8848.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: