aboutsummaryrefslogtreecommitdiffstats
path: root/test/rexml/test_light.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rexml/test_light.rb')
-rw-r--r--test/rexml/test_light.rb2
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