summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtest/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.sh b/test/test.sh
index 68a6370..6609f1a 100755
--- a/test/test.sh
+++ b/test/test.sh
@@ -64,7 +64,7 @@ list_missing() {
if [[ -v $1 ]]; then
covered=$((total-missing))
coverage=$((100*covered/total))
- echo "COVERAGE=$coverage"
+ echo "REQUIRED=$(( total < 4 ? 0 : total - 4 ))"
echo "TOTAL=$total"
echo "COVERED=$covered"
echo "MISSING=$missing"