Skip to content

Fix RectangleTests failing to compile on main - #1954

Merged
rxhanson merged 1 commit into
rxhanson:mainfrom
yannickgloster:fix-new-window-action-manager-tests
Nov 3, 2026
Merged

rxhanson merged 1 commit into
rxhanson:mainfrom
yannickgloster:fix-new-window-action-manager-tests

Conversation

@yannickgloster

@yannickgloster yannickgloster commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

The RectangleTests target doesn't compile on main. When main (with #1937) was merged into #1945's branch, the last two closing braces of NewWindowActionManagerTests were dropped, so #1937's EdgeActionsAcrossDisplaysTests ended up nested inside testAStaleFailureDoesNotDropAReplacedObservation:

RectangleTests.swift:10692:1: error: expected '}' at end of brace statement

The Build workflow only archives the app, so CI stayed green.

Related

Introduced by the merge commit on #1945's branch (86c3445), which landed as ec9e29d.

Changes

Merging main into the new-window-action branch for rxhanson#1945 dropped the
closing braces of testAStaleFailureDoesNotDropAReplacedObservation and
NewWindowActionManagerTests, so EdgeActionsAcrossDisplaysTests from rxhanson#1937
ended up nested inside the test method and the RectangleTests target no
longer compiles. The app target still builds, which is why CI passes.

Puts the two braces back; the test block now matches rxhanson#1945's original
commit exactly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@yannickgloster
yannickgloster marked this pull request as ready for review November 3, 2026 15:29
@rxhanson
rxhanson merged commit dae70c5 into rxhanson:main Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants