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:
parent
dc4fa2f229
commit
36276b6f40
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue