Sha256: 2fb1da309567cdfe3a429b0215f15d2af176bf0b82380830d9f6fb5b54ca84ec

Contents?: true

Size: 474 Bytes

Versions: 1

Compression:

Stored size: 474 Bytes

Contents

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

require 'nano/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-0.9.0 test/lib/nano/string/test_line_wrap.rb