std.format: Add formatting integers with %e, %f, %g and %a.

This commit is contained in:
berni44 2021-04-19 20:36:10 +02:00
parent edb1237abc
commit ad5247072f
2 changed files with 127 additions and 18 deletions

View file

@ -2490,7 +2490,7 @@ public:
{
import std.exception : assertThrown;
import std.format : format, FormatException;
assertThrown!FormatException(format("%a", unicode.ASCII));
assertThrown!FormatException(format("%z", unicode.ASCII));
}