Sha256: 6143d32ead6e5bb5e5051f73d646dd23816a12de34a1936a0833149d2a0f7573

Contents?: true

Size: 223 Bytes

Versions: 4

Compression:

Stored size: 223 Bytes

Contents

covers 'facets/string/unfold'

testcase String do

  unit :unfold do
    str = "This is a test of\nparagraph folding."
    res = str.unfold
    exp = "This is a test of paragraph folding."
    res.assert == exp
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

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