Sha256: 86795102ad348690f9d64e5c23756261a307943b68cb3e1419d204a7d0efd937

Contents?: true

Size: 140 Bytes

Versions: 4

Compression:

Stored size: 140 Bytes

Contents

covers 'facets/array/collapse'

testcase Array do

  unit :collapse do
    [1,nil,[1,2],nil,[[3]]].collapse.assert == [1,1,2,3]
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

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