forked from open-policy-agent/opa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't use rounding for coverage calculation (open-policy-agent#6308)
Perhaps it looks prettier, but this is only reported in JSON output, so I don't think we should decide on what precision to use there. On coverage < threshold error, we still print using 2 decimals, which is Pretty (tm). Fixes open-policy-agent#6307 Signed-off-by: Anders Eknert <[email protected]>
- Loading branch information
1 parent
9dac709
commit 6c3f363
Showing
3 changed files
with
6 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters