Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 56d962a533
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (10 sloc) 0.32 kb
Autotest.add_hook :initialize do |at|
at.clear_mappings
at.add_mapping(/^lib\/.*\.rb$/) do |filename, _|
possible = File.basename(filename).gsub '_', '_?'
at.files_matching %r%^test/.*#{possible}$%
end
at.add_mapping(/^test\/.*\_test.rb/) do |f, _|
at.files_matching(/^test\/.*_test.rb$/)
end
end
Jump to Line
Something went wrong with that request. Please try again.