@@ -25,9 +25,9 @@ - (void)testLaunchUrl {
2525 FlutterMethodChannel* navigationChannel = OCMClassMock ([FlutterMethodChannel class ]);
2626 OCMStub ([engine navigationChannel ]).andReturn (navigationChannel);
2727 OCMStub ([viewController engine ]).andReturn (engine);
28- // Set blockArg to a strong local to retain to end of scope.
29- id blockArg = [OCMArg invokeBlockWithArgs: @NO , nil ];
30- OCMStub ([engine waitForFirstFrame: 3.0 callback: blockArg ]);
28+ // Set blockNoInvoker to a strong local to retain to end of scope.
29+ id blockNoInvoker = [OCMArg invokeBlockWithArgs: @NO , nil ];
30+ OCMStub ([engine waitForFirstFrame: 3.0 callback: blockNoInvoker ]);
3131 appDelegate.rootFlutterViewControllerGetter = ^{
3232 return viewController;
3333 };
@@ -50,9 +50,9 @@ - (void)testLaunchUrlWithQueryParameterAndFragment {
5050 FlutterMethodChannel* navigationChannel = OCMClassMock ([FlutterMethodChannel class ]);
5151 OCMStub ([engine navigationChannel ]).andReturn (navigationChannel);
5252 OCMStub ([viewController engine ]).andReturn (engine);
53- // Set blockArg to a strong local to retain to end of scope.
54- id blockArg = [OCMArg invokeBlockWithArgs: @NO , nil ];
55- OCMStub ([engine waitForFirstFrame: 3.0 callback: blockArg ]);
53+ // Set blockNoInvoker to a strong local to retain to end of scope.
54+ id blockNoInvoker = [OCMArg invokeBlockWithArgs: @NO , nil ];
55+ OCMStub ([engine waitForFirstFrame: 3.0 callback: blockNoInvoker ]);
5656 appDelegate.rootFlutterViewControllerGetter = ^{
5757 return viewController;
5858 };
@@ -76,9 +76,9 @@ - (void)testLaunchUrlWithFragmentNoQueryParameter {
7676 FlutterMethodChannel* navigationChannel = OCMClassMock ([FlutterMethodChannel class ]);
7777 OCMStub ([engine navigationChannel ]).andReturn (navigationChannel);
7878 OCMStub ([viewController engine ]).andReturn (engine);
79- // Set blockArg to a strong local to retain to end of scope.
80- id blockArg = [OCMArg invokeBlockWithArgs: @NO , nil ];
81- OCMStub ([engine waitForFirstFrame: 3.0 callback: blockArg ]);
79+ // Set blockNoInvoker to a strong local to retain to end of scope.
80+ id blockNoInvoker = [OCMArg invokeBlockWithArgs: @NO , nil ];
81+ OCMStub ([engine waitForFirstFrame: 3.0 callback: blockNoInvoker ]);
8282 appDelegate.rootFlutterViewControllerGetter = ^{
8383 return viewController;
8484 };
0 commit comments