lib/mutant/bootstrap.rb in mutant-0.11.32 vs lib/mutant/bootstrap.rb in mutant-0.11.33
- old
+ new
@@ -36,10 +36,10 @@
env = load_hooks(env)
.tap(&method(:infect))
.with(matchable_scopes: matchable_scopes(env))
matched_subjects = env.record(:subject_match) do
- Matcher.from_config(env.config.matcher).call(env)
+ Matcher.expand(env: env).call(env)
end
selected_subjects = subject_select(env, matched_subjects)
mutations = env.record(:mutation_generate) do