Sha256: 03a6782e3547fd943c9c5170e1e7cbc4aece5ddfe2efb51ae7552f767dbee32a

Contents?: true

Size: 343 Bytes

Versions: 18

Compression:

Stored size: 343 Bytes

Contents

require 'xml/libxml'
require 'test/unit'

class TestDeprecatedRequire < Test::Unit::TestCase
  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

18 entries across 18 versions & 3 rubygems

Version Path
libxml-ruby-r19mingw-1.1.4 test/tc_deprecated_require.rb
libxml-ruby-1.1.4 test/tc_deprecated_require.rb
libxml-ruby-1.1.4-x86-mswin32-60 test/tc_deprecated_require.rb
coupa-libxml-ruby-1.1.4 test/tc_deprecated_require.rb
libxml-ruby-0.9.8 test/tc_deprecated_require.rb
libxml-ruby-0.9.9 test/tc_deprecated_require.rb
libxml-ruby-1.0.0-x86-mswin32-60 test/tc_deprecated_require.rb
libxml-ruby-1.1.0-x86-mswin32-60 test/tc_deprecated_require.rb
libxml-ruby-0.9.9-x86-mswin32-60 test/tc_deprecated_require.rb
libxml-ruby-0.9.8-x86-mswin32-60 test/tc_deprecated_require.rb
libxml-ruby-1.0.0 test/tc_deprecated_require.rb
libxml-ruby-1.1.0 test/tc_deprecated_require.rb
libxml-ruby-1.1.3 test/tc_deprecated_require.rb
libxml-ruby-1.1.3-x86-mswin32-60 test/tc_deprecated_require.rb
libxml-ruby-1.1.2-x86-mswin32-60 test/tc_deprecated_require.rb
libxml-ruby-1.1.2 test/tc_deprecated_require.rb
libxml-ruby-1.1.1-x86-mswin32-60 test/tc_deprecated_require.rb
libxml-ruby-1.1.1 test/tc_deprecated_require.rb