mirror of
https://github.com/realm/SwiftLint.git
synced 2026-06-06 20:18:40 +00:00
Support Swift version 6.0.2 (#5844)
This commit is contained in:
@@ -3,7 +3,9 @@ import XCTest
|
||||
|
||||
final class SwiftVersionTests: SwiftLintTestCase {
|
||||
func testDetectSwiftVersion() {
|
||||
#if compiler(>=6.0.1)
|
||||
#if compiler(>=6.0.2)
|
||||
let version = "6.0.2"
|
||||
#elseif compiler(>=6.0.1)
|
||||
let version = "6.0.1"
|
||||
#elseif compiler(>=6.0.0)
|
||||
let version = "6.0.0"
|
||||
|
||||
Reference in New Issue
Block a user