diff options
author | Sandeep <sandeep.ravichandran@sourcebits.com> | 2012-03-16 17:14:54 +0530 |
---|---|---|
committer | Sandeep <sandeep.ravichandran@sourcebits.com> | 2012-03-16 17:14:54 +0530 |
commit | 15404fd3da335086cf1ceb195e524455a633265f (patch) | |
tree | cf0bf332460702307177b8d353ea203fb85965c5 /activesupport/test | |
parent | fc6b961b09b2d057f5820ef2152f6cbf8acbfeea (diff) | |
download | rails-15404fd3da335086cf1ceb195e524455a633265f.tar.gz rails-15404fd3da335086cf1ceb195e524455a633265f.tar.bz2 rails-15404fd3da335086cf1ceb195e524455a633265f.zip |
fixed - warning: assigned but unused variable - checker
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/file_update_checker_test.rb | 2 |
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 |