ruby-changes:51013
From: kou <ko1@a...>
Date: Sat, 21 Apr 2018 15:21:44 +0900 (JST)
Subject: [ruby-changes:51013] kou:r63220 (trunk): rexml: Make more readable
kou 2018-04-21 15:21:41 +0900 (Sat, 21 Apr 2018) New Revision: 63220 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63220 Log: rexml: Make more readable test/rexml/test_jaxen.rb: Use more meaningful name. Modified files: trunk/test/rexml/test_jaxen.rb Index: test/rexml/test_jaxen.rb =================================================================== --- test/rexml/test_jaxen.rb (revision 63219) +++ test/rexml/test_jaxen.rb (revision 63220) @@ -123,9 +123,9 @@ module REXMLTests https://github.com/ruby/ruby/blob/trunk/test/rexml/test_jaxen.rb#L123 # 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/