mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/rexml/test_light.rb: suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
766d38e659
commit
d5e607eb52
2 changed files with 9 additions and 3 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue