Sha256: f9fd6bd05d9ddd8424a9b1dd0a30f0a273ab58536af9a61a59d9257ad5107ccd
Contents?: true
Size: 584 Bytes
Versions: 2
Compression:
Stored size: 584 Bytes
Contents
# encoding: UTF-8 require File.expand_path('../test_helper', __FILE__) class TestHtmlParserContext < Minitest::Test def test_default_options context = XML::HTMLParser::Context.new assert_equal(0, context.options) end def test_no_options context = XML::HTMLParser::Context.new context.options = 0 assert_equal(0, context.options) end def test_options context = XML::HTMLParser::Context.new context.options = XML::HTMLParser::Options::NOERROR assert_equal(XML::HTMLParser::Options::NOERROR, context.options) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
libxml-ruby-3.1.0-x64-mingw32 | test/test_html_parser_context.rb |
libxml-ruby-3.1.0 | test/test_html_parser_context.rb |