Sha256: 41870f46a31e44747bfd3b2e0b2f66ffb8dd1e06d65bc6a06dd3bd57a2b90af6

Contents?: true

Size: 227 Bytes

Versions: 14

Compression:

Stored size: 227 Bytes

Contents

require 'facets/string/chars'
require 'test/unit'

class TC_String_Chars < Test::Unit::TestCase

  def test_chars
    assert_equal( ["a","b","c"], "abc".chars )
    assert_equal( ["a","b","\n","c"], "ab\nc".chars )
  end

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
facets-2.8.4 test/core/string/test_chars.rb
facets-2.8.3 test/core/string/test_chars.rb
facets-2.8.2 test/core/string/test_chars.rb
facets-2.8.1 test/core/string/test_chars.rb
facets-2.8.0 test/core/string/test_chars.rb
facets-2.7.0 test/core/string/test_chars.rb
facets-2.6.0 test/core/string/test_chars.rb
facets-2.4.2 test/core/string/test_chars.rb
facets-2.4.4 test/core/string/test_chars.rb
facets-2.4.3 test/core/string/test_chars.rb
facets-2.5.1 test/core/string/test_chars.rb
facets-2.5.0 test/core/string/test_chars.rb
facets-2.4.5 test/core/string/test_chars.rb
facets-2.5.2 test/core/string/test_chars.rb