Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit b126912

Browse files
committed
Update FlutterEngineTest.mm
1 parent d08319f commit b126912

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

shell/platform/darwin/macos/framework/Source/FlutterEngineTest.mm

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -770,16 +770,15 @@ - (nonnull NSView*)createWithViewIdentifier:(int64_t)viewId arguments:(nullable
770770
bool announced = false;
771771
id engineMock = CreateMockFlutterEngine(nil);
772772

773-
OCMStub([engineMock announceAccessibilityMessage:[OCMArg any]
774-
withPriority:[OCMArg any]])
773+
OCMStub([engineMock announceAccessibilityMessage:[OCMArg any] withPriority:[OCMArg any]])
775774
.andDo((^(NSInvocation* invocation) {
776-
announced =true;
775+
announced = true;
777776
}));
778777

779778
NSData* test_message = [@"a message" dataUsingEncoding:FlutterStandardMessageCodec];
780779

781780
[engine.binaryMessenger sendOnChannel:@"flutter/accessibility" message:test_message];
782-
781+
783782
EXPECT_TRUE(announced);
784783
}
785784

0 commit comments

Comments
 (0)