Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: JRuby 1.6
    • Fix Version/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      1)
      Numeric#step Numeric#step with [stop, +Infinity] does not yield when self > stop FAILED
      Expected [100.0]
       to equal []
      
      /Users/headius/projects/jruby/spec/ruby/core/numeric/step_spec.rb:198:in `(root)'
      org/jruby/RubyKernel.java:2007:in `instance_eval'
      org/jruby/RubyEnumerable.java:1262:in `all?'
      org/jruby/RubyArray.java:1572:in `each'
      org/jruby/RubyArray.java:1572:in `each'
      /Users/headius/projects/jruby/spec/ruby/core/numeric/step_spec.rb:4:in `(root)'
      org/jruby/RubyKernel.java:1062:in `load'
      /Users/headius/projects/jruby/spec/ruby/core/numeric/step_spec.rb:56:in `files'
      org/jruby/RubyKernel.java:2007:in `instance_eval'
      org/jruby/RubyArray.java:1572:in `each'
      
      2)
      Numeric#step Numeric#step with [stop, +Infinity] does not yield when stop is -Infinity FAILED
      Expected [42.0]
       to equal []
      
      /Users/headius/projects/jruby/spec/ruby/core/numeric/step_spec.rb:203:in `(root)'
      org/jruby/RubyKernel.java:2007:in `instance_eval'
      org/jruby/RubyEnumerable.java:1262:in `all?'
      org/jruby/RubyArray.java:1572:in `each'
      org/jruby/RubyArray.java:1572:in `each'
      /Users/headius/projects/jruby/spec/ruby/core/numeric/step_spec.rb:4:in `(root)'
      org/jruby/RubyKernel.java:1062:in `load'
      /Users/headius/projects/jruby/spec/ruby/core/numeric/step_spec.rb:56:in `files'
      org/jruby/RubyKernel.java:2007:in `instance_eval'
      org/jruby/RubyArray.java:1572:in `each'
      
      3)
      Numeric#step Numeric#step with [stop, -infinity] yields once if stop is -Infinity FAILED
      Expected []
       to equal [42]
      
      /Users/headius/projects/jruby/spec/ruby/core/numeric/step_spec.rb:217:in `(root)'
      org/jruby/RubyKernel.java:2007:in `instance_eval'
      org/jruby/RubyEnumerable.java:1262:in `all?'
      org/jruby/RubyArray.java:1572:in `each'
      org/jruby/RubyArray.java:1572:in `each'
      /Users/headius/projects/jruby/spec/ruby/core/numeric/step_spec.rb:4:in `(root)'
      org/jruby/RubyKernel.java:1062:in `load'
      /Users/headius/projects/jruby/spec/ruby/core/numeric/step_spec.rb:56:in `files'
      org/jruby/RubyKernel.java:2007:in `instance_eval'
      org/jruby/RubyArray.java:1572:in `each'
      
      4)
      Numeric#step Numeric#step with [stop, -infinity] yields once when self and stop are Infinity FAILED
      Expected []
       to equal [Infinity]
      
      /Users/headius/projects/jruby/spec/ruby/core/numeric/step_spec.rb:227:in `(root)'
      org/jruby/RubyKernel.java:2007:in `instance_eval'
      org/jruby/RubyEnumerable.java:1262:in `all?'
      org/jruby/RubyArray.java:1572:in `each'
      org/jruby/RubyArray.java:1572:in `each'
      /Users/headius/projects/jruby/spec/ruby/core/numeric/step_spec.rb:4:in `(root)'
      org/jruby/RubyKernel.java:1062:in `load'
      /Users/headius/projects/jruby/spec/ruby/core/numeric/step_spec.rb:56:in `files'
      org/jruby/RubyKernel.java:2007:in `instance_eval'
      org/jruby/RubyArray.java:1572:in `each'
      

        Issue Links

          Activity

          Hide
          Brian McDevitt added a comment -

          http://jira.codehaus.org/browse/JRUBY-5242?focusedCommentId=250031&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-250031

          Charlie Nutter's comment says that these are guarded specs and won't be fixed in JRuby. I think this can be resolved as "Won't Fix".

          Show
          Brian McDevitt added a comment - http://jira.codehaus.org/browse/JRUBY-5242?focusedCommentId=250031&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-250031 Charlie Nutter's comment says that these are guarded specs and won't be fixed in JRuby. I think this can be resolved as "Won't Fix".
          Hide
          Charles Oliver Nutter added a comment -

          We have tags for RubySpec failures, and this may be a Won't Fix anyway.

          Show
          Charles Oliver Nutter added a comment - We have tags for RubySpec failures, and this may be a Won't Fix anyway.

            People

            • Assignee:
              Charles Oliver Nutter
              Reporter:
              Charles Oliver Nutter
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: