delete footer

This commit is contained in:
Miguel Savignano 2019-11-02 22:33:08 +01:00
parent 25b58a6a5d
commit 96f5618266
2 changed files with 1 additions and 6 deletions

View File

@ -11,7 +11,7 @@ class ReportAdapter
end
def summary(report)
"**Coverage**:\n\n#{table_head}\n| Lines | #{lines_covered_percent(report)}% | #{lines_minimum_percent(report)}% |\n#{table_footer}\n"
"**Coverage**:\n\n#{table_head}\n| Lines | #{lines_covered_percent(report)}% | #{lines_minimum_percent(report)}% |\n"
end
def annotations(_report)
@ -23,10 +23,6 @@ class ReportAdapter
"| Type | covered | minimum |\n| ----- | ------- | ------- |"
end
def table_footer
'| | | |'
end
def lines_covered_percent(report)
@lines_covered_percent ||= report.dig('lines', 'covered_percent')
end

View File

@ -3,4 +3,3 @@
| Type | covered | minimum |
| ----- | ------- | ------- |
| Lines | 80% | 80% |
| | | |