Sha256: a2bb90c09393ad70e482b8b1f1f4c91d88e1adc5ec92754ba1b66e78a787684e

Contents?: true

Size: 205 Bytes

Versions: 5

Compression:

Stored size: 205 Bytes

Contents

require 'facets/string/cleanlines'
require 'test/unit'

class TC_String_CleanLines < Test::Unit::TestCase

  def test_cleanlines
    assert_equal( ["a","b","c"], "a \n b \nc".cleanlines.to_a )
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
facets-2.8.4 test/core/string/test_cleanlines.rb
facets-2.8.3 test/core/string/test_cleanlines.rb
facets-2.8.2 test/core/string/test_cleanlines.rb
facets-2.8.1 test/core/string/test_cleanlines.rb
facets-2.8.0 test/core/string/test_cleanlines.rb