diff --git a/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterTextInputPluginTest.mm b/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterTextInputPluginTest.mm index 41ed193411a..aec571a8125 100644 --- a/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterTextInputPluginTest.mm +++ b/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterTextInputPluginTest.mm @@ -1137,6 +1137,7 @@ FLUTTER_ASSERT_ARC @"composingExtent" : @3 }]; OCMVerify([mockInputView setInputDelegate:[OCMArg isNotNil]]); + [inputView removeFromSuperview]; } }