Fix code to use proper method
This commit is contained in:
parent
92cb508c6e
commit
10321549cd
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ module Mutant
|
|||
fork do
|
||||
begin
|
||||
killer = @killer.new(strategy, mutation)
|
||||
Kernel.exit(killer.fail? ? 1 : 0)
|
||||
Kernel.exit(killer.success? ? 0 : 1)
|
||||
rescue
|
||||
Kernel.exit(1)
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue