Displaying 1 result from an estimated 1 matches for "test_files_for".
2008 Jul 03
0
Error on Autotest start
...to be hash
#myfiles = {}
#files.each do |key, value|
#myfiles[key] = value
#end
#files = myfiles
updated = files.select { |filename, mtime| self.last_mtime < mtime }
p updated if $v unless updated.empty? or self.last_mtime.to_i == 0
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 <= line 394
end
end
For some reason the files is an array instead of a hash. I added the little...