Sha256: 69782cf9f196f37ac3e1e6e42e73e9d780c0009fd96ec1034109c84c531ac270
Contents?: true
Size: 245 Bytes
Versions: 16
Compression:
Stored size: 245 Bytes
Contents
require 'facets/string/line_wrap' require 'test/unit' class TestStringLineWrap < 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
16 entries across 16 versions & 1 rubygems