1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Avoid a shadowing warning.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2014-05-27 15:15:54 +00:00
parent dc4fa2f229
commit 36276b6f40

View file

@ -249,7 +249,7 @@ module REXMLTests
assert_instance_of DocType, doc.doctype
assert_equal doc.version, "1.0"
doc = File.open(fixture_path("dash.xml")) {|source| Document.new source }
doc = File.open(fixture_path("dash.xml")) {|s| Document.new s }
assert_equal "content-2", doc.elements["//content-2"].name
end