Sha256: 87f37a99ece501c81e8ea0ebe4daf6c0ca46c4f06abbf31be0a953878b7b3153

Contents?: true

Size: 178 Bytes

Versions: 26

Compression:

Stored size: 178 Bytes

Contents

describe "Array#reverse" do
  it "returns a new array with the elements in reverse order" do
    [].reverse.should == []
    [1, 3, 5, 2].reverse.should == [2, 5, 3, 1]
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
opal-0.3.41 spec/core/array/reverse_spec.rb
opal-0.3.40 spec/core/array/reverse_spec.rb
opal-0.3.39 spec/core/array/reverse_spec.rb
opal-0.3.38 spec/core/array/reverse_spec.rb
opal-0.3.37 spec/core/array/reverse_spec.rb
opal-0.3.36 spec/core/array/reverse_spec.rb
opal-0.3.35 spec/core/array/reverse_spec.rb
opal-0.3.34 spec/core/array/reverse_spec.rb
opal-0.3.33 spec/core/array/reverse_spec.rb
opal-0.3.32 spec/core/array/reverse_spec.rb
opal-0.3.31 spec/core/array/reverse_spec.rb
opal-0.3.30 spec/core/array/reverse_spec.rb
opal-0.3.29 spec/core/array/reverse_spec.rb
opal-0.3.28 spec/core/array/reverse_spec.rb
opal-0.3.27 spec/core/array/reverse_spec.rb
opal-0.3.26 spec/core/array/reverse_spec.rb
opal-0.3.25 spec/core/array/reverse_spec.rb
opal-0.3.22 spec/core/array/reverse_spec.rb
opal-0.3.21 test/core/array/reverse_spec.rb
opal-0.3.20 test/core/array/reverse_spec.rb