1
0
Fork 0
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:
kou 2018-04-21 06:21:02 +00:00
parent daec80fe98
commit 1992cec52d

View file

@ -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