summaryrefslogtreecommitdiff
path: root/test/rexml/test_pullparser.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rexml/test_pullparser.rb')
-rw-r--r--test/rexml/test_pullparser.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rexml/test_pullparser.rb b/test/rexml/test_pullparser.rb
index bfce60f268..03c95642e4 100644
--- a/test/rexml/test_pullparser.rb
+++ b/test/rexml/test_pullparser.rb
@@ -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