ruby/test/ripper/test_files_test_1.rb

10 строки
247 B
Ruby

require_relative 'assert_parse_files.rb'
class TestRipper::Generic
Dir["#{SRCDIR}/test/[-a-n]*/"].each do |dir|
dir = dir[(SRCDIR.length+1)..-2]
define_method("test_parse_files:#{dir}") do
assert_parse_files(dir)
end
end
end