mirror of
https://github.com/dlang/phobos.git
synced 2025-04-26 13:10:35 +03:00
std.format: Add formatting integers with %e, %f, %g and %a.
This commit is contained in:
parent
edb1237abc
commit
ad5247072f
2 changed files with 127 additions and 18 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue