mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
try explicitly setting the padding character
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39772 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2463bd5996
commit
6ec04406c5
1 changed files with 5 additions and 0 deletions
|
@ -84,6 +84,11 @@ int main()
|
|||
|
||||
[fmt setLocale: en];
|
||||
|
||||
[fmt setPaddingCharacter: @"+"];
|
||||
PASS_EQUAL([fmt paddingCharacter], @"+", "padding character se to '+'")
|
||||
|
||||
[fmt setPaddingCharacter: @"*"]; // Subsequent tests use '*'
|
||||
|
||||
[fmt setMaximumFractionDigits: 2];
|
||||
str = [fmt stringFromNumber: num];
|
||||
|
||||
|
|
Loading…
Reference in a new issue