aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2012-03-16 04:54:54 -0700
committerJosé Valim <jose.valim@gmail.com>2012-03-16 04:54:54 -0700
commit2afe12f05ca870437c08dfce8d9e2afb02f8b347 (patch)
treecf0bf332460702307177b8d353ea203fb85965c5
parentfc6b961b09b2d057f5820ef2152f6cbf8acbfeea (diff)
parent15404fd3da335086cf1ceb195e524455a633265f (diff)
downloadrails-2afe12f05ca870437c08dfce8d9e2afb02f8b347.tar.gz
rails-2afe12f05ca870437c08dfce8d9e2afb02f8b347.tar.bz2
rails-2afe12f05ca870437c08dfce8d9e2afb02f8b347.zip
Merge pull request #5465 from sandeepravi/warning_fixes
fixed - warning: assigned but unused variable - checker
-rw-r--r--activesupport/test/file_update_checker_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/file_update_checker_test.rb b/activesupport/test/file_update_checker_test.rb
index c884068c59..988dfd71eb 100644
--- a/activesupport/test/file_update_checker_test.rb
+++ b/activesupport/test/file_update_checker_test.rb
@@ -86,7 +86,7 @@ class FileUpdateCheckerWithEnumerableTest < ActiveSupport::TestCase
FileUtils.touch(FILES.map { |file_name| "tmp_watcher/valid,yetstrange,path,/#{file_name}" } )
test = Thread.new do
- checker = ActiveSupport::FileUpdateChecker.new([],"tmp_watcher/valid,yetstrange,path," => :txt){ i += 1 }
+ ActiveSupport::FileUpdateChecker.new([],"tmp_watcher/valid,yetstrange,path," => :txt){ i += 1 }
Thread.exit
end
test.priority = -1