| Index: talk/app/webrtc/objctests/RTCPeerConnectionSyncObserver.m
|
| diff --git a/talk/app/webrtc/objctests/RTCPeerConnectionSyncObserver.m b/talk/app/webrtc/objctests/RTCPeerConnectionSyncObserver.m
|
| index daebc9523dbe0679a7d5717033662a66a6e2a5bc..5070b789b899bcec92fa0e9a1854824eabd26367 100644
|
| --- a/talk/app/webrtc/objctests/RTCPeerConnectionSyncObserver.m
|
| +++ b/talk/app/webrtc/objctests/RTCPeerConnectionSyncObserver.m
|
| @@ -196,11 +196,8 @@
|
| if (newState == RTCICEGatheringGathering) {
|
| return;
|
| }
|
| - NSAssert([_expectedICEGatheringChanges count] > 0,
|
| - @"Unexpected ICE gathering state change");
|
| int expectedState = [self popFirstElementAsInt:_expectedICEGatheringChanges];
|
| - NSAssert(expectedState == (int)newState,
|
| - @"ICE gathering state should match expectation");
|
| + NSAssert(expectedState == (int)newState, @"Empty expectation array");
|
| }
|
|
|
| - (void)peerConnection:(RTCPeerConnection*)peerConnection
|
| @@ -208,11 +205,8 @@
|
| // See TODO(fischman) in RTCPeerConnectionTest.mm about Completed.
|
| if (newState == RTCICEConnectionCompleted)
|
| return;
|
| - NSAssert([_expectedICEConnectionChanges count] > 0,
|
| - @"Unexpected ICE connection state change");
|
| int expectedState = [self popFirstElementAsInt:_expectedICEConnectionChanges];
|
| - NSAssert(expectedState == (int)newState,
|
| - @"ICE connection state should match expectation");
|
| + NSAssert(expectedState == (int)newState, @"Empty expectation array");
|
| }
|
|
|
| - (void)peerConnection:(RTCPeerConnection*)peerConnection
|
|
|