rational rubyspec failures
--------------------------

                 Key: JRUBY-3323
                 URL: http://jira.codehaus.org/browse/JRUBY-3323
             Project: JRuby
          Issue Type: Bug
          Components: RubySpec
    Affects Versions: JRuby 1.1.6
            Reporter: Charles Oliver Nutter


{noformat}
1)
Rational#divmod when passed [Float] returns the quotient as Integer and the 
remainder as Float FAILED
Expected [-3, 0.25]
 to have same value and type as [-4, -0.25]

spec/ruby/library/rational/divmod_spec.rb:38
spec/ruby/library/rational/divmod_spec.rb:31
spec/ruby/library/rational/divmod_spec.rb:54:in `load'

2)
Rational#to_i converts self to an Integer by truncation FAILED
Expected -2
 to have same value and type as -1

spec/ruby/library/rational/to_i_spec.rb:12
spec/ruby/library/rational/to_i_spec.rb:4
spec/ruby/library/rational/to_i_spec.rb:54:in `load'
{noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to