Skip to content

Commit

Permalink
Merge pull request #3299 from cfiken/fix_swift_version_test
Browse files Browse the repository at this point in the history
Update test `testDetectSwiftVersion` for Swift 5.2.5
  • Loading branch information
jpsim authored Aug 13, 2020
2 parents 0e8ad1d + 1b95821 commit 7feb50f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@
[Marcelo Fabri](https://github.com/marcelofabri)
[#3150](https://github.com/realm/SwiftLint/issues/3150)

* Fix test `testDetectSwiftVersion` for Swift 5.2.5
[cfiken](https://github.com/cfiken)
[#3299](https://github.com/realm/SwiftLint/pull/3299)

## 0.39.2: Stay Home

This is the last release to support building with Swift 5.0.x.
Expand Down
2 changes: 2 additions & 0 deletions Tests/SwiftLintFrameworkTests/SwiftVersionTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ final class SwiftVersionTests: XCTestCase {
func testDetectSwiftVersion() {
#if compiler(>=5.3.0)
let version = "5.3.0"
#elseif compiler(>=5.2.5)
let version = "5.2.5"
#elseif compiler(>=5.2.4)
let version = "5.2.4"
#elseif compiler(>=5.2.3)
Expand Down

0 comments on commit 7feb50f

Please sign in to comment.