fix tests

This commit is contained in:
Luke Zhao
2016-02-19 12:12:56 -08:00
parent 7f57e8cbf4
commit e2da2532ce
2 changed files with 2 additions and 2 deletions

View File

@@ -897,7 +897,7 @@ static NSString * const kCellReuseIdentifier = @"_ASTableViewCell";
- (void)rangeController:(ASRangeController *)rangeController didMoveSection:(NSInteger)fromIndex toSection:(NSInteger)toIndex
{
ASDisplayNodeAssertMainThread();
LOG(@"UITableView moveSection:%@", indexSet);
LOG(@"UITableView moveSection:%@", fromIndex);
if (!self.asyncDataSource) {

View File

@@ -445,7 +445,7 @@ static void *kASSizingQueueContext = &kASSizingQueueContext;
{
_batchUpdateCounter--;
if (_batchUpdateCounter == 0 && _pendingEditCommandBlocks.count > 0) {
if (_batchUpdateCounter == 0) {
LOG(@"endUpdatesWithCompletion - beginning");
[_editingTransactionQueue waitUntilAllOperationsAreFinished];