/vendor/gems/facets-2.4.5/test/core/string/test_lines.rb
Ruby | 11 lines | 7 code | 4 blank | 0 comment | 0 complexity | 1e3f69eb6221c3a3b9a67d069656710f MD5 | raw file
Possible License(s): GPL-3.0, GPL-2.0, IPL-1.0, AGPL-1.0, LGPL-3.0
- require 'facets/string/lines'
- require 'test/unit'
- class TC_String_Lines < Test::Unit::TestCase
- def test_lines
- assert_equal( ['a','b','c'], "a\nb\nc".lines )
- end
- end