summaryrefslogtreecommitdiff
path: root/test/rexml
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-03 03:06:50 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-03 03:06:50 +0000
commitbd2024165c8d9380a75b88607a9c0dfe066aae5f (patch)
treef475d8b769fd1797de4443d0f18291b6548d39c2 /test/rexml
parent9a2dc8f9da2b344c91dcd8c66223fa11412ec78b (diff)
* test/rexml/test_xml_declaration.rb (TestXmlDeclaration#test_*):
Remove needless prefix from test names. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rexml')
-rw-r--r--test/rexml/test_xml_declaration.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/rexml/test_xml_declaration.rb b/test/rexml/test_xml_declaration.rb
index d883e105c1..d58f9f08ba 100644
--- a/test/rexml/test_xml_declaration.rb
+++ b/test/rexml/test_xml_declaration.rb
@@ -1,4 +1,5 @@
#!/usr/bin/env ruby
+# -*- coding: utf-8 -*-
#
# Created by Henrik MÃ¥rtensson on 2007-02-18.
# Copyright (c) 2007. All rights reserved.
@@ -18,15 +19,15 @@ class TestXmlDeclaration < Test::Unit::TestCase
@xml_declaration = @doc.children[0]
end
- def test_xml_declaration_is_first_child
+ def test_is_first_child
assert_kind_of(REXML::XMLDecl, @xml_declaration)
end
- def test_xml_declaration_has_document_as_parent
+ def test_has_document_as_parent
assert_kind_of(REXML::Document, @xml_declaration.parent)
end
- def test_xml_declaration_has_sibling
+ def test_has_sibling
assert_kind_of(REXML::XMLDecl, @root.previous_sibling.previous_sibling)
assert_kind_of(REXML::Element, @xml_declaration.next_sibling.next_sibling)
end