| Index: ios/shared/chrome/browser/ui/coordinators/browser_coordinator_unittest.mm
|
| diff --git a/ios/shared/chrome/browser/ui/coordinators/browser_coordinator_unittest.mm b/ios/shared/chrome/browser/ui/coordinators/browser_coordinator_unittest.mm
|
| index 2d134580fc963dee0e2ec795c98dae3bc5c312ce..df005e6ebeff8faf3ffec84073390cbc59f37dc6 100644
|
| --- a/ios/shared/chrome/browser/ui/coordinators/browser_coordinator_unittest.mm
|
| +++ b/ios/shared/chrome/browser/ui/coordinators/browser_coordinator_unittest.mm
|
| @@ -5,7 +5,6 @@
|
| #import "ios/shared/chrome/browser/ui/coordinators/browser_coordinator.h"
|
| #import "ios/shared/chrome/browser/ui/coordinators/browser_coordinator+internal.h"
|
|
|
| -#import "ios/shared/chrome/browser/coordinator_context/coordinator_context.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "testing/gtest_mac.h"
|
|
|
| @@ -95,13 +94,10 @@ TEST(BrowserCoordinatorTest, TestChildren) {
|
| [parent addChildCoordinator:child];
|
| EXPECT_TRUE([parent.children containsObject:child]);
|
| EXPECT_EQ(parent, child.parentCoordinator);
|
| - EXPECT_EQ(parent.viewController, child.context.baseViewController);
|
|
|
| [parent removeChildCoordinator:child];
|
| EXPECT_FALSE([parent.children containsObject:child]);
|
| EXPECT_EQ(nil, child.parentCoordinator);
|
| - // Unparenting shouldn't change a child's baseViewController.
|
| - EXPECT_EQ(parent.viewController, child.context.baseViewController);
|
|
|
| TestCoordinator* otherParent = [[TestCoordinator alloc] init];
|
| TestCoordinator* otherChild = [[TestCoordinator alloc] init];
|
|
|