lib/mutant/env.rb in mutant-0.11.20 vs lib/mutant/env.rb in mutant-0.11.21
- old
+ new
@@ -1,9 +1,10 @@
# frozen_string_literal: true
module Mutant
# Mutation testing execution environment
+ # rubocop:disable Metrics/ClassLength
class Env
include Adamantium, Anima.new(
:config,
:hooks,
:integration,
@@ -30,10 +31,11 @@
def self.empty(world, config)
new(
config: config,
hooks: Hooks.empty,
integration: Integration::Null.new(
+ arguments: EMPTY_ARRAY,
expression_parser: config.expression_parser,
world: world
),
matchable_scopes: EMPTY_ARRAY,
mutations: EMPTY_ARRAY,
@@ -173,6 +175,7 @@
def timer
world.timer
end
end # Env
+ # rubocop:enable Metrics/ClassLength
end # Mutant