Closed
Description
Describe the bug
The library doesn't compile on Xcode 16 Beta 3 due to a change in the swift-testing Issue.record()
function arguments. Specially the error is: Extra arguments at positions #2, #3 in call
The Issue.record()
function uses sourceLocation
instead of filePath
and line
. It looks like we have to construct an instance of SourceLocation
and provide in addition to filePath
and line
also column
and fileID
the latter can be created using fileID() function so it looks like the recordIssue()
function of swift-testing will need some changes to pass in an existing SourceLocation or fileID
To Reproduce
Open project in Xcode 16 beta 3 and compile.
Expected behavior
Compiles ;-)
Screenshots
Environment
- swift-snapshot-testing version 1.17.0
- Xcode 16.0 beta 3 (16A5202i)
- Swift 6.0
- OS: 15.0 Beta (24A5279h)
Metadata
Metadata
Assignees
Labels
No labels