mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
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:
parent
619fd8cfba
commit
b1745e7d9d
7 changed files with 142 additions and 87 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue