diff options
author | nagachika <nagachika@ruby-lang.org> | 2021-04-05 20:14:49 +0900 |
---|---|---|
committer | nagachika <nagachika@ruby-lang.org> | 2021-04-05 20:14:49 +0900 |
commit | b59e5a64be40b93370afbb0accfcb73c4d682045 (patch) | |
tree | 41f20ab12ff11aed6e57c259ece9c22ce6a134d7 /test/rexml/test_doctype.rb | |
parent | c761586ba9f87d96af804dc37458068d1facd7d3 (diff) |
Backport rexml upstream bug fixes.
Diffstat (limited to 'test/rexml/test_doctype.rb')
-rw-r--r-- | test/rexml/test_doctype.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/test/rexml/test_doctype.rb b/test/rexml/test_doctype.rb index 7f42669170..915717de8e 100644 --- a/test/rexml/test_doctype.rb +++ b/test/rexml/test_doctype.rb @@ -18,12 +18,6 @@ module REXMLTests @doc_type_system = REXML::Document.new(xml_system).doctype @pubid = "TEST_ID" - xml_public = <<-XML - <!DOCTYPE root PUBLIC "#{@pubid}"> - <root/> - XML - @doc_type_public = REXML::Document.new(xml_public).doctype - xml_public_system = <<-XML <!DOCTYPE root PUBLIC "#{@pubid}" "#{@sysid}"> <root/> @@ -35,11 +29,9 @@ module REXMLTests assert_equal([ nil, @pubid, - @pubid, ], [ @doc_type_system.public, - @doc_type_public.public, @doc_type_public_system.public, ]) end @@ -58,12 +50,10 @@ module REXMLTests def test_system assert_equal([ @sysid, - nil, @sysid, ], [ @doc_type_system.system, - @doc_type_public.system, @doc_type_public_system.system, ]) end |