# File lib/autotest.rb, line 390 def find_files_to_test(files=find_files) updated = files.select { |filename, mtime| self.last_mtime < mtime } unless updated.empty? or self.last_mtime.to_i == 0 #nothing to update or initial run p updated if options[:verbose] hook :updated, updated end updated.map { |f,m| test_files_for(f) }.flatten.uniq.each do |filename| self.files_to_test[filename] # creates key with default value end if updated.empty? then nil else files.values.max end end