diff options
author | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-07 12:57:35 +0000 |
---|---|---|
committer | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-07 12:57:35 +0000 |
commit | 40a5012381a18ffbb476a02c4c296fde49377c17 (patch) | |
tree | 9068f7a272c7717b6fc283df9621959e55930997 /test/rexml | |
parent | d5e607eb52d0c0e619999c65495d5e13fd020a95 (diff) |
* 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
Diffstat (limited to 'test/rexml')
-rw-r--r-- | test/rexml/test_light.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |