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.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/rexml/test_light.rb b/test/rexml/test_light.rb
index 7ccf61298c..65f9c0866c 100644
--- a/test/rexml/test_light.rb
+++ b/test/rexml/test_light.rb
@@ -6,9 +6,11 @@ class LightTester < Test::Unit::TestCase
include REXMLTestUtils
include REXML::Light
- def test_parse_large
- parser = REXML::Parsers::LightParser.new(fixture_path("documentation.xml"))
- root = parser.parse
+ def test_parse_large
+ xml_string = fixture_path("documentation.xml")
+ parser = REXML::Parsers::LightParser.new(xml_string)
+ tag, content = parser.parse
+ assert_equal(:document, tag)
end
# FIXME INCOMPLETE