Sha256: 1ee8ee09ed78f15133710e89a6be442fee78242eac73d771827a93a99f910960
Contents?: true
Size: 388 Bytes
Versions: 29
Compression:
Stored size: 388 Bytes
Contents
require 'xml/libxml' require 'test/unit' class TestDeprecatedRequire < Test::Unit::TestCase def test_basic xp = XML::Parser.new assert_instance_of(XML::Parser, xp) str = '<ruby_array uga="booga" foo="bar"><fixnum>one</fixnum><fixnum>two</fixnum></ruby_array>' assert_equal(str, xp.string = str) @doc = xp.parse assert_instance_of(XML::Document, @doc) end end
Version data entries
29 entries across 29 versions & 5 rubygems