Skip to content

Commit

Permalink
Fix iOS 15, 14 tests using wrong version of swift-snapshot-testing
Browse files Browse the repository at this point in the history
…and API tests (#4394)
  • Loading branch information
vegaro authored Oct 22, 2024
1 parent 95aaf74 commit 19e4d27
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let shouldIncludeDocCPlugin = environmentVariables["INCLUDE_DOCC_PLUGIN"] == "tr

var dependencies: [Package.Dependency] = [
.package(url: "[email protected]:Quick/Nimble.git", from: "10.0.0"),
.package(url: "[email protected]:pointfreeco/swift-snapshot-testing.git", from: "1.11.0")
.package(url: "[email protected]:pointfreeco/swift-snapshot-testing.git", .upToNextMinor(from: "1.12.0"))
]
if shouldIncludeDocCPlugin {
// Versions 1.4.0 and 1.4.1 are failing to compile, so we are pinning it to 1.3.0 for now
Expand Down
2 changes: 1 addition & 1 deletion [email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let shouldIncludeDocCPlugin = environmentVariables["INCLUDE_DOCC_PLUGIN"] == "tr

var dependencies: [Package.Dependency] = [
.package(url: "[email protected]:Quick/Nimble.git", from: "10.0.0"),
.package(url: "[email protected]:pointfreeco/swift-snapshot-testing.git", from: "1.11.0")
.package(url: "[email protected]:pointfreeco/swift-snapshot-testing.git", .upToNextMinor(from: "1.12.0"))
]
if shouldIncludeDocCPlugin {
// Versions 1.4.0 and 1.4.1 are failing to compile, so we are pinning it to 1.3.0 for now
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,17 @@ func checkCustomerCenterConfigData(_ data: CustomerCenterConfigData) {
func checkHelpPath(_ path: CustomerCenterConfigData.HelpPath) {
let id: String = path.id
let title: String = path.title
let url: URL? = path.url
let openMethod: CustomerCenterConfigData.HelpPath.OpenMethod? = path.openMethod
let type: CustomerCenterConfigData.HelpPath.PathType = path.type
let detail: CustomerCenterConfigData.HelpPath.PathDetail? = path.detail

let _: CustomerCenterConfigData.HelpPath = .init(id: id, title: title, type: type, detail: detail)
let _: CustomerCenterConfigData.HelpPath = .init(id: id,
title: title,
url: url,
openMethod: openMethod,
type: type,
detail: detail)
}

func checkHelpPathDetail(_ detail: CustomerCenterConfigData.HelpPath.PathDetail) {
Expand Down

0 comments on commit 19e4d27

Please sign in to comment.