Minor fixups for release ... mostly avoid failed testcases.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32837 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2011-04-12 05:41:53 +00:00
parent 619fd8cfba
commit b1745e7d9d
7 changed files with 142 additions and 87 deletions

View file

@ -39,8 +39,10 @@ int main()
PASS(NO == [fmt getObjectValue: &num forString: @"1234.567"
errorDescription: 0], "float input is disallowed")
testHopeful = YES;
[fmt getObjectValue: &num forString: @"1234.567" errorDescription: &error];
PASS_EQUAL(error, @"Floating Point not allowed", "allowsFloat error")
testHopeful = NO;
[fmt setFormat: @"__000000"];
num = [[[NSNumber alloc] initWithFloat: 1234.432] autorelease];