Skip to content

[Test] Fix test failure caused by invalid iOS version for availability #83039

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 14, 2025

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Jul 14, 2025

20.0 is not a valid version number for iOS

Since it's translated to 27.0, the test failed with:

/Users/rintaro/Repositories/swift-oss/swift/test/SourceKit/DocSupport/doc_swift_module_availability_maccatalyst_is_deprecated.swift:15:16: error: CHECK-NEXT: expected string not found in input
// CHECK-NEXT: key.deprecated: "20.0"
               ^
<stdin>:87:57: note: scanning from here
 key.platform: source.availability.platform.maccatalyst,
                                                        ^
<stdin>:88:2: note: possible intended match here
 key.deprecated: "27.0"
 ^

rdar://155463166

'20.0' is not a valid version number for iOS

rdar://155463166
@rintaro
Copy link
Member Author

rintaro commented Jul 14, 2025

@swift-ci Please smoke test

@rintaro rintaro enabled auto-merge July 14, 2025 20:06
@rintaro rintaro merged commit 616ca57 into swiftlang:main Jul 14, 2025
3 checks passed
@rintaro rintaro deleted the rdar155463166 branch July 14, 2025 23:39
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