Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: opal/opal
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8504b0bd4a3e
Choose a base ref
...
head repository: opal/opal
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 05d2154cf822
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jun 11, 2015

  1. Copy the full SHA
    d4bfdd9 View commit details
  2. Merge pull request #931 from c42engineering/rubyspec_array_comparison

    RubySpec: Removing filters for Array#<=> specs that are already passing
    vais committed Jun 11, 2015
    Copy the full SHA
    05d2154 View commit details
Showing with 0 additions and 6 deletions.
  1. +0 −6 spec/filters/bugs/array.rb
6 changes: 0 additions & 6 deletions spec/filters/bugs/array.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
opal_filter "Array" do
fails "Array#clone copies singleton methods"

fails "Array#<=> calls <=> left to right and return first non-0 result"
fails "Array#<=> returns -1 if the arrays have same length and a pair of corresponding elements returns -1 for <=>"
fails "Array#<=> returns +1 if the arrays have same length and a pair of corresponding elements returns +1 for <=>"
fails "Array#<=> tries to convert the passed argument to an Array using #to_ary"
fails "Array#<=> returns nil when the argument is not array-like"

fails "Array.[] can unpack 2 or more nested referenced array"

fails "Array#[]= sets elements in the range arguments when passed ranges"