aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-07 12:57:35 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-07 12:57:35 +0000
commit40a5012381a18ffbb476a02c4c296fde49377c17 (patch)
tree9068f7a272c7717b6fc283df9621959e55930997
parentd5e607eb52d0c0e619999c65495d5e13fd020a95 (diff)
downloadruby-40a5012381a18ffbb476a02c4c296fde49377c17.tar.gz
* test/rexml/test_light.rb: really suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--test/rexml/test_light.rb2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 44b1048b90..f17bd42915 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Dec 7 21:56:01 2010 Kouhei Sutou <kou@cozmixng.org>
+
+ * test/rexml/test_light.rb: really suppress a warning.
+
Tue Dec 7 21:51:57 2010 Kouhei Sutou <kou@cozmixng.org>
* test/rexml/test_light.rb: suppress a warning.
diff --git a/test/rexml/test_light.rb b/test/rexml/test_light.rb
index 65f9c0866c..3b9e8adfec 100644
--- a/test/rexml/test_light.rb
+++ b/test/rexml/test_light.rb
@@ -10,7 +10,7 @@ class LightTester < Test::Unit::TestCase
xml_string = fixture_path("documentation.xml")
parser = REXML::Parsers::LightParser.new(xml_string)
tag, content = parser.parse
- assert_equal(:document, tag)
+ assert_equal([:document, :text], [tag, content.first])
end
# FIXME INCOMPLETE