Sha256: 8c0378c5fede9747d899e3fcfdcdbd3f6e67d0009a5694274af283aac6195977

Contents?: true

Size: 250 Bytes

Versions: 2

Compression:

Stored size: 250 Bytes

Contents

require 'xml'
require 'test/unit'

class TestWellFormed < Test::Unit::TestCase
  def test_xml_node_doc_get()
    parser = XML::Parser.new
    parser.string = "<p>I am well formed</p>"
    parser.parse
    assert(parser.context.well_formed?)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
libxml-ruby-0.9.7-x86-mswin32-60 test/tc_well_formed.rb
libxml-ruby-0.9.7 test/tc_well_formed.rb