# encoding: UTF-8 require 'xml/libxml' class TestDeprecatedRequire < Minitest::Test def test_basic xp = LibXML::XML::Parser.string('onetwo') assert_instance_of(LibXML::XML::Parser, xp) @doc = xp.parse assert_instance_of(LibXML::XML::Document, @doc) end end