Add 5.9 to Swift version tests (#5057)

This gets all tests passing with Xcode 15 beta 1.
This commit is contained in:
JP Simard 2023-06-12 14:39:18 -04:00 committed by GitHub
parent 23326fc433
commit 7462187191
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,8 @@ final class SwiftVersionTests: SwiftLintTestCase {
func testDetectSwiftVersion() {
#if compiler(>=6.0.0)
let version = "6.0.0"
#elseif compiler(>=5.9.0)
let version = "5.9.0"
#elseif compiler(>=5.8.1)
let version = "5.8.1"
#elseif compiler(>=5.8.0)