Sha256: 51078ede80e48de4315bcd195ecf30ac2fb807bbd6e43201da671803ca2215f5

Contents?: true

Size: 348 Bytes

Versions: 6

Compression:

Stored size: 348 Bytes

Contents

# encoding: UTF-8

require 'xml/libxml'

class TestDeprecatedRequire < Minitest::Test
  def test_basic
    xp = XML::Parser.string('<ruby_array uga="booga" foo="bar"><fixnum>one</fixnum><fixnum>two</fixnum></ruby_array>')
    assert_instance_of(XML::Parser, xp)
    @doc = xp.parse
    assert_instance_of(XML::Document, @doc)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
libxml-ruby-3.1.0-x64-mingw32 test/test_deprecated_require.rb
libxml-ruby-3.1.0 test/test_deprecated_require.rb
libxml-ruby-3.0.0-x64-mingw32 test/tc_deprecated_require.rb
libxml-ruby-3.0.0 test/tc_deprecated_require.rb
libxml-ruby-2.9.0-x64-mingw32 test/tc_deprecated_require.rb
libxml-ruby-2.9.0 test/tc_deprecated_require.rb