Use %s to avoid embedding Strings which may contain '%' characters.
This commit is contained in:
parent
b1374d7ec4
commit
bbda303a83
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@ module Mutant
|
|||
# @api private
|
||||
#
|
||||
def print_killer(color, word, killer)
|
||||
puts(colorize(color, "#{word}: #{killer.identification} (%02.2fs)" % killer.runtime))
|
||||
puts(colorize(color, "%s: %s (%02.2fs)" % [word, killer.identification, killer.runtime]))
|
||||
end
|
||||
|
||||
# Test for output to tty
|
||||
|
|
Loading…
Add table
Reference in a new issue