Sha256: 18aa5b3c78d6f58963b1bc3277308f60c83d2f6d359b4b643655077dbbcda0a6

Contents?: true

Size: 488 Bytes

Versions: 1

Compression:

Stored size: 488 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/string/line_wrap.rb
#
# Extracted Fri Sep 08 20:20:32 EDT 2006
# Unit Tools Reap Test Extractor
#

require 'facets/core/string/line_wrap.rb'


  require 'test/unit'

  class TCString < Test::Unit::TestCase

    def test_line_wrap
      assert_equal "abc\n123\n", "abc123".line_wrap(3)
      assert_equal "abcd\n123\n", "abcd123".line_wrap(4)
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.7.46 test/lib/facets/core/string/test_line_wrap.rb