Rubinius core/kernel_spec failures
----------------------------------

                 Key: JRUBY-1061
                 URL: http://jira.codehaus.org/browse/JRUBY-1061
             Project: JRuby
          Issue Type: Bug
            Reporter: Charles Oliver Nutter
            Assignee: Thomas E Enebo


{noformat}
1)
'Kernel.Float() should raise a TypeError if to_f doesn't return a Float' FAILED
expected #<NativeException: java.lang.ClassCastException: org.jruby.RubyString 
cannot be cast to org.jruby.RubyFloat>, got TypeError (using ===)
/Users/headius/NetBeansProjects/jruby/./test/externals/rubinius/spec/core/../rspec_helper.rb:26:in
 `should_raise'
./test/externals/rubinius/spec/core/kernel_spec.rb:41:

2)
'Kernel.Integer() should raise a TypeError if there is no to_i method on an 
object' FAILED
expected #<NoMethodError: undefined method `to_i' for 
#<KernelSpecInt2:0x441b45>:KernelSpecInt2>, got TypeError (using ===)
/Users/headius/NetBeansProjects/jruby/./test/externals/rubinius/spec/core/../rspec_helper.rb:26:in
 `should_raise'
./test/externals/rubinius/spec/core/kernel_spec.rb:58:

3)
'Kernel.at_exit() should fire after all other code' FAILED
expected "65", got "" (using ==)
./test/externals/rubinius/spec/core/kernel_spec.rb:119:

4)
'Kernel.at_exit() should fire in reverse order of registration' FAILED
expected "6754", got "" (using ==)
./test/externals/rubinius/spec/core/kernel_spec.rb:125:

5)
'Kernel.fail() should raise an exception' FAILED
expected #<Spec::Expectations::ExpectationNotMetError: expected "6754", got "" 
(using ==)>, got RuntimeError (using ===)
/Users/headius/NetBeansProjects/jruby/./test/externals/rubinius/spec/core/../rspec_helper.rb:26:in
 `should_raise'
./test/externals/rubinius/spec/core/kernel_spec.rb:132:

6)
'Kernel.warn() should call #write on $stderr' FAILED
expected "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn\n", got "" (using 
==)
./test/externals/rubinius/spec/core/kernel_spec.rb:174:

7)
'Kernel.warn() should write the default record seperator (\n) and NOT $/ to 
$stderr after the warning message' FAILED
expected "\n", got "" (using ==)
./test/externals/rubinius/spec/core/kernel_spec.rb:184:

8)
'A class with the Functions mixin rand should have the random number generator 
seeded uniquely at startup' FAILED
expected not == "", got ""
<script>:0:

9)
'A class with the Functions mixin caller returns current execution stack' FAILED
expected "./spec/core/kernel_spec.rb:279:in `a'", got 
"./test/externals/rubinius/spec/core/kernel_spec.rb:276:in `a'" (using ==)
./test/externals/rubinius/spec/core/kernel_spec.rb:284:
{noformat}

Note, failure 9 also occurs under MRI, and is probably invalid.

-- 
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