99ab9ff171
* This commit does every 2.3 change required to get the build pass * None of the changes can be extracted, without changing the build setup
39 lines
736 B
Ruby
39 lines
736 B
Ruby
# frozen_string_literal: true
|
|
|
|
Mutant::Meta::Example.add :irange do
|
|
source '1..100'
|
|
|
|
singleton_mutations
|
|
mutation '1...100'
|
|
mutation '-1..100'
|
|
mutation '0..100'
|
|
mutation '2..100'
|
|
mutation 'nil..100'
|
|
mutation 'self..100'
|
|
mutation '1..nil'
|
|
mutation '1..self'
|
|
mutation '1..0'
|
|
mutation '1..1'
|
|
mutation '1..99'
|
|
mutation '1..101'
|
|
mutation '1..-100'
|
|
end
|
|
|
|
Mutant::Meta::Example.add :erange do
|
|
source '1...100'
|
|
|
|
singleton_mutations
|
|
mutation '1..100'
|
|
mutation '-1...100'
|
|
mutation '0...100'
|
|
mutation '2...100'
|
|
mutation 'nil...100'
|
|
mutation 'self...100'
|
|
mutation '1...nil'
|
|
mutation '1...self'
|
|
mutation '1...0'
|
|
mutation '1...1'
|
|
mutation '1...99'
|
|
mutation '1...101'
|
|
mutation '1...-100'
|
|
end
|