mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-06 17:12:50 +00:00
fix CPtabViewTest
This commit is contained in:
1 parent
48ebd2e954
commit
8ead5f63da
1 file changed
+2
-2
@@ -58,8 +58,8 @@
|
||||
- (void)testMiddleAfterMoveBound
|
||||
{
|
||||
var tabs = [_tabView tabs];
|
||||
[_tabView setBounds:CPRectMake(12, 13, 20, 300)];
|
||||
[self assert:([_tabView boundsSize].width / 2) equals:CPRectGetMidX([tabs frame])];
|
||||
[_tabView setBounds:CPRectMake(100, 100, 20, 300)];
|
||||
[self assert:([tabs boundsSize].width / 2) equals:CPRectGetMidX([tabs bounds])];
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in new issue
Block a user