diff options
author | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-09-17 13:46:56 +0000 |
---|---|---|
committer | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-09-17 13:46:56 +0000 |
commit | 2a15d25a5941301b5be6bc29eb4ac97d5aafe3dc (patch) | |
tree | 32ed30c63502d98c54555945ded41a4d0161c662 /test/rexml/test_attributes_mixin.rb | |
parent | 146bf4fdafefc780d65f20c983d65f9cbe3bfe2d (diff) | |
download | ruby-2a15d25a5941301b5be6bc29eb4ac97d5aafe3dc.tar.gz |
* 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_attributes_mixin.rb')
-rw-r--r-- | test/rexml/test_attributes_mixin.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/rexml/test_attributes_mixin.rb b/test/rexml/test_attributes_mixin.rb index 44ab4f0d89..50899d0607 100644 --- a/test/rexml/test_attributes_mixin.rb +++ b/test/rexml/test_attributes_mixin.rb @@ -5,7 +5,6 @@ require 'test/unit' require 'rexml/document' class TestAttributes < Test::Unit::TestCase - def setup @ns_a = "urn:x-test:a" @ns_b = "urn:x-test:b" @@ -21,7 +20,7 @@ class TestAttributes < Test::Unit::TestCase XMLEND @attributes = REXML::Document.new(element_string).root.attributes end - + def test_get_attribute_ns assert_equal("1", @attributes.get_attribute_ns("", "a").value) assert_equal("2", @attributes.get_attribute_ns("", "b").value) @@ -30,5 +29,4 @@ class TestAttributes < Test::Unit::TestCase assert_equal("5", @attributes.get_attribute_ns(@ns_a, "e").value) assert_equal("6", @attributes.get_attribute_ns(@ns_b, "f").value) end - end |