Fix code to use proper method

This commit is contained in:
Dan Kubb 2013-04-17 18:58:44 -07:00
parent 92cb508c6e
commit 10321549cd

View file

@ -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