aboutsummaryrefslogtreecommitdiffstats
path: root/test/rexml/test_xml_declaration_parent_child.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rexml/test_xml_declaration_parent_child.rb')
-rw-r--r--test/rexml/test_xml_declaration_parent_child.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rexml/test_xml_declaration_parent_child.rb b/test/rexml/test_xml_declaration_parent_child.rb
index 6386bed4f1..d883e105c1 100644
--- a/test/rexml/test_xml_declaration_parent_child.rb
+++ b/test/rexml/test_xml_declaration_parent_child.rb
@@ -17,15 +17,15 @@ class TestXmlDeclaration < Test::Unit::TestCase
@root = @doc.root
@xml_declaration = @doc.children[0]
end
-
+
def test_xml_declaration_is_first_child
assert_kind_of(REXML::XMLDecl, @xml_declaration)
end
-
+
def test_xml_declaration_has_document_as_parent
assert_kind_of(REXML::Document, @xml_declaration.parent)
end
-
+
def test_xml_declaration_has_sibling
assert_kind_of(REXML::XMLDecl, @root.previous_sibling.previous_sibling)
assert_kind_of(REXML::Element, @xml_declaration.next_sibling.next_sibling)