std.format: Add unittests for %g (step 2).#7815
Conversation
|
Thanks for your pull request and interest in making D better, @berni44! We are looking forward to reviewing it, and you should be hearing from a maintainer soon.
Please see CONTRIBUTING.md for more information. If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment. Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub run digger -- build "master + phobos#7815" |
|
Why are so many tests comments out? |
They don't work yet. %g isn't just selecting between %e and %f. There are other changes needed too: Mainly, precision has a different meaning and trailing zeros are removed. So the unittests are the roadmap to follow. The idea is to make them work step by step. |
Followup on #7810.