Sha256: 3390ae5d2bd86e34d5a82a3c71cf9d55a927f4c5ab268e6295c1873fc49c7d3e
Contents?: true
Size: 604 Bytes
Versions: 26
Compression:
Stored size: 604 Bytes
Contents
# encoding: UTF-8 require_relative './test_helper' class TestHtmlParserContext < Minitest::Test def test_default_options context = LibXML::XML::HTMLParser::Context.new assert_equal(0, context.options) end def test_no_options context = LibXML::XML::HTMLParser::Context.new context.options = 0 assert_equal(0, context.options) end def test_options context = LibXML::XML::HTMLParser::Context.new context.options = LibXML::XML::HTMLParser::Options::NOERROR assert_equal(LibXML::XML::HTMLParser::Options::NOERROR, context.options) end end
Version data entries
26 entries across 26 versions & 1 rubygems