Sha256: 22dd672abede9ca3b0d69b9fe8041c6330e66c91c234e4c07ed670041931fbb1

Contents?: true

Size: 302 Bytes

Versions: 6

Compression:

Stored size: 302 Bytes

Contents

require 'xml'
require 'test/unit'

class TestEncoding < Test::Unit::TestCase
  def test_latin1
    assert_equal(XML::Encoding::ISO_8859_1, 10)
  end

  def test_latin1_to_s
    encoding_str = XML::Encoding.encoding_to_s(XML::Encoding::ISO_8859_1)
    assert_equal('ISO-8859-1', encoding_str)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
libxml-ruby-0.9.0-x86-mswin32-60 test/tc_encoding.rb
libxml-ruby-0.9.0 test/tc_encoding.rb
libxml-ruby-0.9.1 test/tc_encoding.rb
libxml-ruby-0.9.1-x86-mswin32-60 test/tc_encoding.rb
libxml-ruby-0.9.2 test/tc_encoding.rb
libxml-ruby-0.9.2-x86-mswin32-60 test/tc_encoding.rb