Fix style issue

Closes #30
This commit is contained in:
Markus Schirp 2013-06-21 16:21:26 +02:00
parent 8b7be8a565
commit ddff94c174
2 changed files with 3 additions and 3 deletions

View file

@ -33,9 +33,9 @@ module Mutant
fork do
begin
killer = @killer.new(strategy, mutation)
Kernel.exit(killer.success? ? 0 : 1)
exit(killer.success? ? CLI::EXIT_SUCCESS : CLI::EXIT_FAILURE)
rescue
Kernel.exit(1)
exit(CLI::EXIT_FAILURE)
end
end

View file

@ -40,7 +40,7 @@ module Mutant
# @api private
#
def run
Kernel.eval(source, TOPLEVEL_BINDING, @subject.source_path, @subject.source_line)
eval(source, TOPLEVEL_BINDING, @subject.source_path, @subject.source_line)
end
# Return source