mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
rexml: Fix a test bug
test/rexml/test_jaxen.rb: Fix wrong assert_raise usage. Note that this code isn't used yet. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
daec80fe98
commit
1992cec52d
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ module REXMLTests
|
|||
# processes a tests/document/context/test node ( where @exception is true )
|
||||
def process_exceptional_test(context, variables, namespaces, test)
|
||||
select = test.attributes["select"]
|
||||
assert_raise do
|
||||
assert_raise(REXML::ParseException) do
|
||||
XPath.match(context, select, namespaces, variables)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue