Skip to content

Commit 073b568

Browse files
committed
fix(ios-runner): keep the os(iOS) directive on its own line in synthesizedCoordinateContext
The formatter had joined it to the opening brace, which the selection scanner's line-start directive match misses, so the else branch parsed as unmatched.
1 parent e4d78d1 commit 073b568

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎apple/runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests+SynthesizedInteraction.swift‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,8 @@ extension RunnerTests {
377377
func synthesizedCoordinateContext(
378378
app: XCUIApplication,
379379
policy: SynthesizedGesturePolicy
380-
) -> SynthesizedCoordinateContext? {#if os(iOS)
380+
) -> SynthesizedCoordinateContext? {
381+
#if os(iOS)
381382
let health = runnerAccessibilityHealth
382383
let referenceFrame = onScreenWindowFrame(app: app)
383384
guard referenceFrame.width.isFinite, referenceFrame.height.isFinite,

0 commit comments

Comments
 (0)