зеркало из https://github.com/github/ruby.git
rexml: Make more readable
test/rexml/test_jaxen.rb: Use more meaningful name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
1992cec52d
Коммит
e044924ee5
|
@ -123,9 +123,9 @@ module REXMLTests
|
||||||
|
|
||||||
# processes a tests/document/context/test node ( where @exception is true )
|
# processes a tests/document/context/test node ( where @exception is true )
|
||||||
def process_exceptional_test(context, variables, namespaces, test)
|
def process_exceptional_test(context, variables, namespaces, test)
|
||||||
select = test.attributes["select"]
|
xpath = test.attributes["select"]
|
||||||
assert_raise(REXML::ParseException) do
|
assert_raise(REXML::ParseException) do
|
||||||
XPath.match(context, select, namespaces, variables)
|
XPath.match(context, xpath, namespaces, variables)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче