summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-04-21 06:21:41 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-04-21 06:21:41 +0000
commite044924ee508e87c07df1385f3dfddb739b7faaa (patch)
tree30fff060596f1173dc9b0fd2770c12245d9862fb /test
parent1992cec52daf885b7c82389216ecc37cff146120 (diff)
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
Diffstat (limited to 'test')
-rw-r--r--test/rexml/test_jaxen.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rexml/test_jaxen.rb b/test/rexml/test_jaxen.rb
index cc210faa70..69c74d5572 100644
--- a/test/rexml/test_jaxen.rb
+++ b/test/rexml/test_jaxen.rb
@@ -123,9 +123,9 @@ 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"]
+ xpath = test.attributes["select"]
assert_raise(REXML::ParseException) do
- XPath.match(context, select, namespaces, variables)
+ XPath.match(context, xpath, namespaces, variables)
end
end