mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Fixup for newer ICU
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40057 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1c6e113e7a
commit
7f434feefd
1 changed files with 4 additions and 2 deletions
|
@ -121,11 +121,13 @@ int main()
|
|||
[fmt setFormatWidth: 6];
|
||||
|
||||
str = [fmt stringFromNumber: num];
|
||||
PASS_EQUAL(str, @"**1234", "format width set correctly");
|
||||
PASS([str isEqual: @"**1234"] || [str isEqual: @" 1234"],
|
||||
"format width set correctly");
|
||||
|
||||
[fmt setPositivePrefix: @"+"];
|
||||
str = [fmt stringFromNumber: num];
|
||||
PASS_EQUAL(str, @"*+1234", "positive prefix set correctly");
|
||||
PASS([str isEqual: @"*+1234"] || [str isEqual: @" +1234"],
|
||||
"positive prefix set correctly");
|
||||
|
||||
[fmt setPaddingCharacter: @"0"];
|
||||
str = [fmt stringFromNumber: num];
|
||||
|
|
Loading…
Reference in a new issue