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

            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: