aboutsummaryrefslogtreecommitdiffstats
path: root/test/rake/in_environment.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-15 11:55:52 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-15 11:55:52 +0000
commit3a47cf3395dd4c4fe8bdd5df13aab698f2ca314b (patch)
treec4a278220ba8141b829c5c7b0777c1049cfe413c /test/rake/in_environment.rb
parent39da1b63699faf30c86e753e193c29b81b16136d (diff)
downloadruby-3a47cf3395dd4c4fe8bdd5df13aab698f2ca314b.tar.gz
* remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rake/in_environment.rb')
-rw-r--r--test/rake/in_environment.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rake/in_environment.rb b/test/rake/in_environment.rb
index f0a340fac9..f6fd8fb731 100644
--- a/test/rake/in_environment.rb
+++ b/test/rake/in_environment.rb
@@ -1,11 +1,11 @@
module InEnvironment
private
-
+
# Create an environment for a test. At the completion of the yielded
# block, the environment is restored to its original conditions.
def in_environment(settings)
original_settings = set_env(settings)
- yield
+ yield
ensure
set_env(original_settings) if original_settings
end