Sha256: 60f60eceedd47dd24203123c5b369ff17407b1dad792640be81ad6da4041368c

Contents?: true

Size: 200 Bytes

Versions: 4

Compression:

Stored size: 200 Bytes

Contents

covers 'facets/string/each_word.rb'

testcase String do

  unit :each_word do
    a = []
    i = "this is a test"
    i.each_word{ |w| a << w }
    a.assert == ['this', 'is', 'a', 'test']
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
facets-2.9.1 test/core/string/test_each_word.rb
facets-2.9.0 test/core/string/test_each_word.rb
facets-2.9.0.pre.2 test/core/string/test_each_word.rb
facets-2.9.0.pre.1 test/core/string/test_each_word.rb