summaryrefslogtreecommitdiff
path: root/test/rexml/test_xpathtext.rb
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-09-17 13:46:56 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-09-17 13:46:56 +0000
commit2a15d25a5941301b5be6bc29eb4ac97d5aafe3dc (patch)
tree32ed30c63502d98c54555945ded41a4d0161c662 /test/rexml/test_xpathtext.rb
parent146bf4fdafefc780d65f20c983d65f9cbe3bfe2d (diff)
* test/rexml/: untabify.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rexml/test_xpathtext.rb')
-rw-r--r--test/rexml/test_xpathtext.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rexml/test_xpathtext.rb b/test/rexml/test_xpathtext.rb
index 0ae48ac..c339398 100644
--- a/test/rexml/test_xpathtext.rb
+++ b/test/rexml/test_xpathtext.rb
@@ -53,8 +53,8 @@ class XpathTestCase < Test::Unit::TestCase
# why isn't the text's parent node2?
# Also look at Comment, etc.
assert_same(node2, textnode.parent)
- comment = REXML::Comment.new('Test comment', node2)
- assert_same(node2, comment.parent)
+ comment = REXML::Comment.new('Test comment', node2)
+ assert_same(node2, comment.parent)
end
def test_ancestors
@@ -62,7 +62,7 @@ class XpathTestCase < Test::Unit::TestCase
node2 = REXML::Element.new('b', node1)
textnode = REXML::Text.new('test', false, node2)
#textnode.parent = node2 # should be unnecessary
- assert_same node2, textnode.parent
+ assert_same node2, textnode.parent
nodes = @doc.get_elements('//b/ancestor::*')
assert_equal(1, nodes.size, "<b> has one element ancestor")
nodes = @doc.get_elements('//b/ancestor::node()')