RubySpec: Array failures relating to recursive arrays
-----------------------------------------------------

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


{noformat}
1)
Array#eql? handles well recursive arrays FAILED
Expected false to be true
/Users/headius/projects/jruby/spec/mspec/lib/mspec/expectations/expectations.rb:15:in
 `fail_with'
/Users/headius/projects/jruby/spec/mspec/lib/mspec/expectations/should.rb:7:in 
`should'
/Users/headius/projects/jruby/spec/ruby/core/array/shared/eql.rb:32
...
/Users/headius/projects/jruby/spec/ruby/core/array/eql_spec.rb:8
/Users/headius/projects/jruby/spec/ruby/core/array/eql_spec.rb:55:in `load'

2)
Array#== handles well recursive arrays FAILED
Expected false to be true
/Users/headius/projects/jruby/spec/mspec/lib/mspec/expectations/expectations.rb:15:in
 `fail_with'
/Users/headius/projects/jruby/spec/mspec/lib/mspec/expectations/should.rb:7:in 
`should'
/Users/headius/projects/jruby/spec/ruby/core/array/shared/eql.rb:32
...
/Users/headius/projects/jruby/spec/ruby/core/array/equal_value_spec.rb:5
/Users/headius/projects/jruby/spec/ruby/core/array/equal_value_spec.rb:55:in 
`load'

3)
Array#& properly handles recursive arrays FAILED
Expected [1, "two", 3.0]
to equal [1, "two", 3.0, [1, "two", 3.0, [...], [...], [...], [...], [...]]]

/Users/headius/projects/jruby/spec/mspec/lib/mspec/expectations/expectations.rb:15:in
 `fail_with'
/Users/headius/projects/jruby/spec/mspec/lib/mspec/matchers/base.rb:9:in `=='
/Users/headius/projects/jruby/spec/ruby/core/array/intersection_spec.rb:34
...
/Users/headius/projects/jruby/spec/ruby/core/array/intersection_spec.rb:4
/Users/headius/projects/jruby/spec/ruby/core/array/intersection_spec.rb:55: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