Sha256: 707e2a9aef07f399559fec4e8ae5df762f42b14b7e4631cfeec10e821cc53ff2

Contents?: true

Size: 167 Bytes

Versions: 3

Compression:

Stored size: 167 Bytes

Contents

covers 'facets/array/collapse'

test_case Array do

  method :collapse do

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

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
facets-3.0.0 test/core/array/test_collapse.rb
facets-2.9.3 test/core/array/test_collapse.rb
facets-2.9.2 test/core/array/test_collapse.rb