aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--test/rexml/test_light.rb8
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index bee0173bb9..44b1048b90 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Dec 7 21:51:57 2010 Kouhei Sutou <kou@cozmixng.org>
+
+ * test/rexml/test_light.rb: suppress a warning.
+
Tue Dec 7 21:14:03 2010 Tanaka Akira <akr@fsij.org>
* debug.c: parenthesize macro arguments.
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