More capp_linting.

Reviewed by me.
This commit is contained in:
Francisco Ryan Tolmasky I committed 2010-12-09 13:45:29 -08:00
1 parent 3cda75986b
commit d69f46f7ee
32 files changed
+305 -287

No files matched your search

+3 -3
View File
@@ -83,9 +83,9 @@
- (void)testRemoveObjectsAtIndexes
{
var array = [CPMutableArray arrayWithObjects:@"one", @"two", @"three", @"four", nil],
indexes = [CPMutableIndexSet indexSetWithIndex: 2];
indexes = [CPMutableIndexSet indexSetWithIndex: 2];
[array removeObjectsAtIndexes: indexes];
[array removeObjectsAtIndexes:indexes];
[self assert:array equals:[@"one", @"two", @"four", nil]];
}
@@ -425,7 +425,7 @@
- (CPArray)arrayByReversingArray
{
var a = [];
for (i = length - 1; i>0; --i)
for (i = length - 1; i > 0; --i)
a.push(self[i]);
return a;