mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Wrap REXML test classes by REXML module.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1c35277c2b
commit
13a8d735d9
39 changed files with 78 additions and 3 deletions
|
|
@ -4,6 +4,7 @@ require_relative "../rexml_test_utils"
|
|||
|
||||
require "rexml/document"
|
||||
|
||||
module REXML
|
||||
class TestXPathNode < Test::Unit::TestCase
|
||||
def matches(xml, xpath)
|
||||
document = REXML::Document.new(xml)
|
||||
|
|
@ -38,3 +39,4 @@ class TestXPathNode < Test::Unit::TestCase
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue