Sha256: 53bc6040759670c11a588802abd4c4fa1183f58e706ac6c07866c44c770e57d0

Contents?: true

Size: 172 Bytes

Versions: 4

Compression:

Stored size: 172 Bytes

Contents

covers 'facets/array/indexable'

tests Array do

  unit :first! => "alias of shift" do
    a = [1,2,3]
    r = a.first!
    r.assert == 1
    a.assert == [2,3]
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
facets-2.9.1 test/core/array/test_first.rb
facets-2.9.0 test/core/array/test_first.rb
facets-2.9.0.pre.2 test/core/array/test_first.rb
facets-2.9.0.pre.1 test/core/array/test_first.rb