Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Round coverage percentage down. #240

Closed
wants to merge 1 commit into from
Closed

Commits on Oct 16, 2012

  1. Round coverage percentage down.

    The HTML coverage reporter can show coverage less than 100% as "100".
    This patch will round fractional values down to avoid confusion.
    For example:
      ((275/276) * 100).toFixed(0) == "100"
      Math.floor((275/276) * 100).toFixed(0) == "99"
    davidlehn committed Oct 16, 2012
    Copy the full SHA
    2470112 View commit details
    Browse the repository at this point in the history