From f413799b5ac5c3f443ed35c874f9e4ed8c8f3a40 Mon Sep 17 00:00:00 2001 From: SHIBATA Hiroshi Date: Tue, 26 Jul 2016 20:16:17 +0900 Subject: [PATCH] Reversed restore condition for RAKE_COLUMNS. Fixed #146 --- test/test_rake_application.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_rake_application.rb b/test/test_rake_application.rb index daa4a57ba..e3bc43842 100644 --- a/test/test_rake_application.rb +++ b/test/test_rake_application.rb @@ -351,9 +351,9 @@ def test_terminal_columns assert_equal 42, app.terminal_columns ensure if old_rake_columns - ENV['RAKE_COLUMNS'].delete - else ENV['RAKE_COLUMNS'] = old_rake_columns + else + ENV.delete 'RAKE_COLUMNS' end end