mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-02 00:43:35 +00:00
Test: some manual tests were broken
This PR fixes the manual tests. We can no launch every manual tests of Cappuccino...
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
[arrayController setContent:items];
|
||||
|
||||
var label = [CPTextField labelWithTitle:@"Press buttons to see [Remove First By Object] fails while [Remove First By Index] succeeds"];
|
||||
[label setFrameOrigin:CGPointMake(20, 20)];
|
||||
[label setFrameOrigin:CGPointMake(20, 20)];
|
||||
[contentView addSubview:label];
|
||||
|
||||
var field = [CPTextField textFieldWithStringValue:@"" placeholder:@"" width:100];
|
||||
@@ -65,7 +65,8 @@
|
||||
|
||||
- (void)removeFirstByIndex:(id)sender
|
||||
{
|
||||
[arrayController removeObjectAtArrangedObjectIndex:0];
|
||||
if ([[arrayController contentArray] count])
|
||||
[arrayController removeObjectAtArrangedObjectIndex:0];
|
||||
}
|
||||
|
||||
- (void)observeValueForKeyPath:(CPString)keyPath ofObject:(id)object change:(CPDictionary)change context:(id)context
|
||||
|
||||
Reference in New Issue
Block a user