Skip to content

Commit

Permalink
Fix testDetectSwiftVersion with Swift 5.2 (#3093)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelofabri authored Feb 10, 2020
1 parent b303cd6 commit c47db1b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Tests/SwiftLintFrameworkTests/LinterCacheTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,9 @@ class LinterCacheTests: XCTestCase {

// swiftlint:disable:next function_body_length
func testDetectSwiftVersion() {
#if compiler(>=5.1.4)
#if compiler(>=5.2.0)
let version = "5.2.0"
#elseif compiler(>=5.1.4)
let version = "5.1.4"
#elseif compiler(>=5.1.3)
let version = "5.1.3"
Expand Down

0 comments on commit c47db1b

Please sign in to comment.