diff options
author | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-04-21 06:21:02 +0000 |
---|---|---|
committer | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-04-21 06:21:02 +0000 |
commit | 1992cec52daf885b7c82389216ecc37cff146120 (patch) | |
tree | fd6f86234f19603ee1139b4b7faa43ea65644934 /test/rexml | |
parent | daec80fe983519e52beb5be8bd779597e2a8c5b2 (diff) |
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
Diffstat (limited to 'test/rexml')
-rw-r--r-- | test/rexml/test_jaxen.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rexml/test_jaxen.rb b/test/rexml/test_jaxen.rb index 703b2793d0..cc210faa70 100644 --- a/test/rexml/test_jaxen.rb +++ b/test/rexml/test_jaxen.rb @@ -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 |