From b69f55a6733f6a70627d7ea809b8c9c026e7671b Mon Sep 17 00:00:00 2001 From: ayumin Date: Tue, 17 Jul 2012 16:13:10 +0000 Subject: [PATCH] * lib/open-uri.rb: delete space. * test/psych/test_alias_and_anchor.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/open-uri.rb | 2 +- test/psych/test_alias_and_anchor.rb | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/open-uri.rb b/lib/open-uri.rb index d3b26e1277..155fc66650 100644 --- a/lib/open-uri.rb +++ b/lib/open-uri.rb @@ -150,7 +150,7 @@ module OpenURI yield io ensure if io.kind_of? Tempfile - io.close! + io.close! else io.close end diff --git a/test/psych/test_alias_and_anchor.rb b/test/psych/test_alias_and_anchor.rb index aa4773bce4..7cb5a6e52b 100644 --- a/test/psych/test_alias_and_anchor.rb +++ b/test/psych/test_alias_and_anchor.rb @@ -24,8 +24,8 @@ EOYAML def test_mri_compatibility_object_with_ivars yaml = <