Skip to content

Commit

Permalink
fixed - warning: assigned but unused variable - checker
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepr-sourcebits committed Mar 16, 2012
1 parent fc6b961 commit 15404fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activesupport/test/file_update_checker_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def test_should_not_block_if_a_strange_filename_used
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
Expand Down

0 comments on commit 15404fd

Please sign in to comment.