mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d1c42e4f34
commit
f6327e732f
11 changed files with 91 additions and 75 deletions
|
@ -33,7 +33,7 @@ class PullParserTester < Test::Unit::TestCase
|
|||
source = "<a><b></a>"
|
||||
parser = REXML::Parsers::PullParser.new(source)
|
||||
assert_raise(ParseException, "Parsing should have failed") {
|
||||
results = parser.pull while parser.has_next?
|
||||
parser.pull while parser.has_next?
|
||||
}
|
||||
end
|
||||
|
||||
|
@ -63,7 +63,7 @@ class PullParserTester < Test::Unit::TestCase
|
|||
|
||||
def test_peek_unshift
|
||||
source = "<a><b/></a>"
|
||||
pp = REXML::Parsers::PullParser.new(source)
|
||||
REXML::Parsers::PullParser.new(source)
|
||||
# FINISH ME!
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue