mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Mark notANumber test case as hopeful
This commit is contained in:
parent
560b1d19fb
commit
7d6a84f4f5
1 changed files with 5 additions and 0 deletions
|
@ -52,8 +52,13 @@ int main()
|
|||
PASS(NSNumberFormatterBehaviorDefault == [fmt formatterBehavior],
|
||||
"a new formatter can have the default behavior set")
|
||||
|
||||
/* It is not guaranteed by ICU that UNUM_NAN_SYMBOL is "NaN".
|
||||
* On Windows, NaN has a negative signum and returns "-NaN".
|
||||
*/
|
||||
testHopeful = YES;
|
||||
str = [fmt stringFromNumber: [NSDecimalNumber notANumber]];
|
||||
PASS_EQUAL(str, @"NaN", "notANumber special case")
|
||||
testHopeful = NO;
|
||||
|
||||
START_SET("NSLocale")
|
||||
NSLocale *sys;
|
||||
|
|
Loading…
Reference in a new issue