[MacRuby] #1492: Fails the Spec about the Range#relative_to
#1492: Fails the Spec about the Range#relative_to ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Latest MacRuby fails the Spec about the Range#relative_to {{{ $ rake spec:ci rm -rf rubyspec_temp ./mspec/bin/mspec ci -B ./spec/macruby.mspec :full ---- snip --- 1) A Range object responds to #relative_to, which returns a new Range object without negative indicies FAILED Expected 0..11 to equal 0..10 /Users/watson/src/macruby-master/spec/macruby/core/range_spec.rb:14:in `block' /Users/watson/src/macruby-master/spec/macruby/core/range_spec.rb:1:in `<main>' Finished in 277.238063 seconds 3368 files, 15915 examples, 59178 expectations, 1 failure, 0 errors rake aborted! Command failed with status (1): [./mspec/bin/mspec ci -B ./spec/macruby.msp...] Tasks: TOP => spec:ci (See full trace by running task with --trace) }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/1492> MacRuby <http://macruby.org/>
#1492: Fails the Spec about the Range#relative_to ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Comment(by mrada@…): Oops. -- Ticket URL: <http://www.macruby.org/trac/ticket/1492#comment:1> MacRuby <http://macruby.org/>
#1492: Fails the Spec about the Range#relative_to ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Comment(by mrada@…): Off by one, I should have checked against (beg + len > m) ...I will push that out shortly. Sorry. -- Ticket URL: <http://www.macruby.org/trac/ticket/1492#comment:2> MacRuby <http://macruby.org/>
#1492: Fails the Spec about the Range#relative_to ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: Component: MacRuby | Resolution: fixed Keywords: | ----------------------------------+----------------------------------------- Changes (by watson1978@…): * status: new => closed * resolution: => fixed Comment: Thanks, I confirmed with https://github.com/MacRuby/MacRuby/commit/b7958dcfb8520e8b505a218cab2ae0c506... -- Ticket URL: <http://www.macruby.org/trac/ticket/1492#comment:3> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby