Skip to content

Commit 2afe12f

Browse files
committed
Merge pull request rails#5465 from sandeepravi/warning_fixes
fixed - warning: assigned but unused variable - checker
2 parents fc6b961 + 15404fd commit 2afe12f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activesupport/test/file_update_checker_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def test_should_not_block_if_a_strange_filename_used
8686
FileUtils.touch(FILES.map { |file_name| "tmp_watcher/valid,yetstrange,path,/#{file_name}" } )
8787

8888
test = Thread.new do
89-
checker = ActiveSupport::FileUpdateChecker.new([],"tmp_watcher/valid,yetstrange,path," => :txt){ i += 1 }
89+
ActiveSupport::FileUpdateChecker.new([],"tmp_watcher/valid,yetstrange,path," => :txt){ i += 1 }
9090
Thread.exit
9191
end
9292
test.priority = -1

0 commit comments

Comments
 (0)