diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-27 15:15:54 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-27 15:15:54 +0000 |
commit | 36276b6f40fe87aec2883a7641a249002a3bb7a9 (patch) | |
tree | 8c4927b2e8e5d151ba606d43ea66ae245f2c005a /test/rexml | |
parent | dc4fa2f22966bb5aba9419cddffe0f5f792bb767 (diff) |
Avoid a shadowing warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rexml')
-rw-r--r-- | test/rexml/test_core.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rexml/test_core.rb b/test/rexml/test_core.rb index 41dcec5d34..97aada9104 100644 --- a/test/rexml/test_core.rb +++ b/test/rexml/test_core.rb @@ -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 |