From 8ead5f63dadd135fc8818845a3d2f57b31febd99 Mon Sep 17 00:00:00 2001 From: Antoine Mercadal Date: Thu, 28 Oct 2010 11:01:38 +0200 Subject: [PATCH] fix CPtabViewTest --- Tests/AppKit/CPTabViewTest.j | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/AppKit/CPTabViewTest.j b/Tests/AppKit/CPTabViewTest.j index 3496bf6c0..9bba62b40 100644 --- a/Tests/AppKit/CPTabViewTest.j +++ b/Tests/AppKit/CPTabViewTest.j @@ -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 \ No newline at end of file