Author: rfm Date: Tue Aug 9 09:00:36 2016 New Revision: 40057 URL: http://svn.gna.org/viewcvs/gnustep?rev=40057&view=rev Log: Fixup for newer ICU
Modified: libs/base/trunk/Tests/base/NSNumberFormatter/basic10_4.m Modified: libs/base/trunk/Tests/base/NSNumberFormatter/basic10_4.m URL: http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Tests/base/NSNumberFormatter/basic10_4.m?rev=40057&r1=40056&r2=40057&view=diff ============================================================================== --- libs/base/trunk/Tests/base/NSNumberFormatter/basic10_4.m (original) +++ libs/base/trunk/Tests/base/NSNumberFormatter/basic10_4.m Tue Aug 9 09:00:36 2016 @@ -121,11 +121,13 @@ [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]; _______________________________________________ Gnustep-cvs mailing list Gnustep-cvs@gna.org https://mail.gna.org/listinfo/gnustep-cvs