Sha256: 7b3d0aaf954c415ee5ed331e96c82a6d5b7636c668c46532022c4557f100e80d

Contents?: true

Size: 294 Bytes

Versions: 4

Compression:

Stored size: 294 Bytes

Contents

covers 'facets/string/words'

testcase String do

  unit :words do
    x = "a b c\nd e"
    x.words.assert == ['a','b','c','d','e']

    x = "ab cd\nef"
    x.words.assert == ['ab','cd','ef']
  end

  unit :words do
    x = "ab cd \n ef-gh"
    x.words.assert == ['ab','cd','ef-gh']
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

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