Sha256: 931033acbc776b978b76b1715283825fbc41a5b97fbbd13c191cdc628941c6dc
Contents?: true
Size: 250 Bytes
Versions: 5
Compression:
Stored size: 250 Bytes
Contents
require 'facets/string/lines' require 'test/unit' class TC_String_Lines < Test::Unit::TestCase # Ruby 1.9 defined #lines to keep the newline character. Yuk! def test_lines assert_equal( ["a\n","b\n","c"], "a\nb\nc".lines.to_a ) end end
Version data entries
5 entries across 5 versions & 1 rubygems