Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Fix: Test output percentage should round down instead of up #1260

Closed
wants to merge 1 commit into from

Conversation

jhalley
Copy link
Contributor

@jhalley jhalley commented Dec 13, 2017

Release notes: Percentage output of passing tests (passed tests / total tests) should be rounded down instead of up.

From an example I encountered earlier, when we had number of tests passed = 1157 and total tests = 1159, we would display, "Passed: 1157/1159 100%". We should instead display "Passed: 1157/1159 99%"

Copy link

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hermanventer is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@hermanventer hermanventer deleted the fix_test_percentage branch December 13, 2017 21:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants