Skip to content

Commit

Permalink
Fix CPTextFieldTest.
Browse files Browse the repository at this point in the history
  • Loading branch information
aljungberg committed Aug 4, 2012
1 parent 31ea0da commit 4d8758f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/AppKit/CPTextFieldTest.j
Expand Up @@ -32,7 +32,7 @@

[control setFormatter:numberFormatter];
[control setStringValue:@"12.3456"];
[self assert:[CPNumber class] equals:[[control objectValue] class] message:@"object should be a number"];
[self assertTrue:[[control objectValue] isKindOfClass:CPNumber] message:@"object should be a number"];
// Note that the control stores the value with a different precision than the maximum fraction
// digits of the number formatter. It's a little surprising but this makes the implementation easier
// and Cocoa does it too.
Expand Down Expand Up @@ -63,4 +63,4 @@
return self;
}

@end
@end

0 comments on commit 4d8758f

Please sign in to comment.