Skip to content

Unified: fix test output#21901

Merged
asgerf merged 2 commits into
github:mainfrom
asgerf:unified-fix-test
May 27, 2026
Merged

Unified: fix test output#21901
asgerf merged 2 commits into
github:mainfrom
asgerf:unified-fix-test

Conversation

@asgerf
Copy link
Copy Markdown
Contributor

@asgerf asgerf commented May 27, 2026

Updating test output after #21841 was merged. These are not yet run on CI

Copilot AI review requested due to automatic review settings May 27, 2026 19:28
@asgerf asgerf requested a review from a team as a code owner May 27, 2026 19:28
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Unified Swift test “golden” outputs to match the post-#21841 AST structure (notably the new statement: wrapping and reshaped fields), ensuring the existing extractor/corpus tests compare against current dumps.

Changes:

  • Refreshes unified/ql/test/library-tests/BasicTest/test.expected to reflect the new node output shape.
  • Regenerates Swift corpus expected dumps under unified/extractor/tests/corpus/swift/ to match the updated mapped AST format (e.g., statement: blocks, renamed/re-nested fields like function:/suffix: and expr:).
Show a summary per file
File Description
unified/ql/test/library-tests/BasicTest/test.expected Updates expected BasicTest output to match new node emission/structure.
unified/extractor/tests/corpus/swift/variables.txt Refreshes Swift variable-related corpus expected AST dumps to new schema/shape.
unified/extractor/tests/corpus/swift/types.txt Refreshes Swift type declaration corpus expected AST dumps to new schema/shape.
unified/extractor/tests/corpus/swift/optionals-and-errors.txt Refreshes optional/error-handling corpus expected AST dumps to new schema/shape.
unified/extractor/tests/corpus/swift/operators.txt Refreshes operator expression corpus expected AST dumps to new schema/shape.
unified/extractor/tests/corpus/swift/loops.txt Refreshes loop corpus expected AST dumps to new schema/shape.
unified/extractor/tests/corpus/swift/literals.txt Refreshes literal corpus expected AST dumps to new schema/shape.
unified/extractor/tests/corpus/swift/functions.txt Refreshes function-related corpus expected AST dumps to new schema/shape.
unified/extractor/tests/corpus/swift/desugar.txt Refreshes desugaring corpus expected AST dumps to new schema/shape.
unified/extractor/tests/corpus/swift/control-flow.txt Refreshes control-flow corpus expected AST dumps to new schema/shape.
unified/extractor/tests/corpus/swift/collections.txt Refreshes collections/subscript corpus expected AST dumps to new schema/shape.
unified/extractor/tests/corpus/swift/closures.txt Refreshes closure corpus expected AST dumps to new schema/shape.

Copilot's findings

  • Files reviewed: 12/12 changed files
  • Comments generated: 0

@asgerf asgerf merged commit 17fe3e4 into github:main May 27, 2026
6 checks passed
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.

3 participants