From 34b03cebf9c9f2ce2a53511a4b2160485e270f12 Mon Sep 17 00:00:00 2001 From: Willem van Bergen Date: Fri, 1 Jan 2010 10:12:30 +0100 Subject: Code cleanup, bugfixes and speed improvements for the Nokogiri and LibXML XmlMini backends [#3641 state:committed] Signed-off-by: Jeremy Kemper --- activesupport/test/xml_mini/libxml_engine_test.rb | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'activesupport/test/xml_mini/libxml_engine_test.rb') diff --git a/activesupport/test/xml_mini/libxml_engine_test.rb b/activesupport/test/xml_mini/libxml_engine_test.rb index 900c8052d6..83d03bccc6 100644 --- a/activesupport/test/xml_mini/libxml_engine_test.rb +++ b/activesupport/test/xml_mini/libxml_engine_test.rb @@ -184,6 +184,15 @@ class LibxmlEngineTest < Test::Unit::TestCase eoxml end + def test_children_with_blank_text_and_attribute + assert_equal_rexml(<<-eoxml) + + + + eoxml + end + + private def assert_equal_rexml(xml) hash = XmlMini.with_backend('REXML') { XmlMini.parse(xml) } -- cgit v1.2.3