Sha256: 1056f93cbff74b12964faa73b568075d6e24fd48defe9fb61364942cfd24362f

Contents?: true

Size: 493 Bytes

Versions: 1

Compression:

Stored size: 493 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/nano/string/fold.rb
#
# Extracted Fri Oct 28 14:20:18 EDT 2005
# Unit Tools Reap Test Extractor
#

require 'nano/string/fold.rb'


  require 'test/unit'

  class TCString < Test::Unit::TestCase

    def test_fold
      s = "This is\na test.\n\nIt clumps\nlines of text."
      o = "This is a test.\n\nIt clumps lines of text."
      assert_equal( o, s.fold )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-0.9.0 test/lib/nano/string/test_fold.rb