lib/mutant/config/coverage_criteria.rb in mutant-0.11.18 vs lib/mutant/config/coverage_criteria.rb in mutant-0.11.19
- old
+ new
@@ -18,15 +18,24 @@
timeout: false
)
TRANSFORM =
Transform::Sequence.new(
- [
+ steps: [
Transform::Hash.new(
optional: [
- Transform::Hash::Key.new('process_abort', Transform::BOOLEAN),
- Transform::Hash::Key.new('test_result', Transform::BOOLEAN),
- Transform::Hash::Key.new('timeout', Transform::BOOLEAN)
+ Transform::Hash::Key.new(
+ transform: Transform::BOOLEAN,
+ value: 'process_abort'
+ ),
+ Transform::Hash::Key.new(
+ transform: Transform::BOOLEAN,
+ value: 'test_result'
+ ),
+ Transform::Hash::Key.new(
+ transform: Transform::BOOLEAN,
+ value: 'timeout'
+ )
],
required: []
),
Transform::Hash::Symbolize.new,
->(value) { Either::Right.new(DEFAULT.with(**value)) }