Sha256: 9cbbcb7fe7fa487812eb5bd371cbfb7cde04430bda66374777d2eb9e1de08510

Contents?: true

Size: 196 Bytes

Versions: 4

Compression:

Stored size: 196 Bytes

Contents

covers 'facets/string/lines'

testcase String do

  # Ruby 1.9 defined #lines to keep the newline character. Yuk!
  unit :lines do
    "a\nb\nc".lines.to_a.assert == ["a\n","b\n","c"]
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
facets-2.9.1 test/core/string/test_lines.rb
facets-2.9.0 test/core/string/test_lines.rb
facets-2.9.0.pre.2 test/core/string/test_lines.rb
facets-2.9.0.pre.1 test/core/string/test_lines.rb