lib/lois/cli.rb in lois-0.1.1 vs lib/lois/cli.rb in lois-0.1.2
- old
+ new
@@ -105,10 +105,10 @@
def simplecov
puts 'Checking simplecov'
configure(options)
actual = options[:actual].to_f
- actual_formatted = format('%.2f%', actual)
+ actual_formatted = format('%.2f%%', actual)
if actual >= options[:minimum].to_f
Lois.config.github.success('simplecov', "#{actual_formatted} coverage.")
else
Lois.config.github.failure('simplecov', "#{actual_formatted} is too low.")