mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/rexml/parser/test_tree.rb: Fix test name to describe test
content. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a0657cd5d7
commit
4c1fa1a6a4
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Sep 3 22:57:57 2013 Kouhei Sutou <kou@cozmixng.org>
|
||||
|
||||
* test/rexml/parser/test_tree.rb: Fix test name to describe test
|
||||
content.
|
||||
|
||||
Tue Sep 3 22:54:46 2013 Kouhei Sutou <kou@cozmixng.org>
|
||||
|
||||
* lib/rexml/parsers/treeparser.rb (REXML::Parsers::TreeParser#parse):
|
||||
|
|
|
@ -4,7 +4,7 @@ require "rexml/parsers/treeparser"
|
|||
|
||||
class TestTreeParser < Test::Unit::TestCase
|
||||
class TestInvalid < self
|
||||
def test_parse_exception
|
||||
def test_unmatched_close_tag
|
||||
xml = "<root></not-root>"
|
||||
exception = assert_raise(REXML::ParseException) do
|
||||
parse(xml)
|
||||
|
|
Loading…
Add table
Reference in a new issue