Skip to content

Commit

Permalink
chore: update dependencies (#45)
Browse files Browse the repository at this point in the history
* chore: update WMATA dependency
* chore: Xcode 14 changes simulator names
* test: update test expectations for Mac Catalyst
  • Loading branch information
rhwood authored Oct 16, 2022
1 parent 9d5f81b commit a9f65a5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
"'platform=macOS'",
"'platform=tvOS Simulator,name=Apple TV'",
"'platform=iOS Simulator,name=iPhone 8'",
"'platform=watchOS Simulator,name=Apple Watch Series 5 - 40mm'"
"'platform=watchOS Simulator,name=Apple Watch Series 5 (40mm)'"
]
runs-on: macos-12

Expand Down
4 changes: 2 additions & 2 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/emma-k-alexandra/WMATA.swift",
"state" : {
"revision" : "9aa315da04887c63b151dca5abda855efa39c0fe",
"version" : "14.1.0"
"revision" : "c7d9b07ea632f2aeefc54e5dee5d1936c90507d9",
"version" : "14.2.0"
}
}
],
Expand Down
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ let package = Package(
targets: ["WMATAUI"])
],
dependencies: [
.package(url: "https://github.com/emma-k-alexandra/WMATA.swift", from: "14.1.0"),
.package(url: "https://github.com/nalexn/ViewInspector", from: "0.9.1")
.package(url: "https://github.com/emma-k-alexandra/WMATA.swift", from: "14.2.0"),
.package(url: "https://github.com/nalexn/ViewInspector", exact: "0.9.1")
],
targets: [
.target(
Expand Down
4 changes: 2 additions & 2 deletions Tests/WMATAUITests/LineUITests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ final class LinesUITests: XCTestCase {
func testDotSize() throws {
let dot = Line.red.dot(style: .headline, factor: 1.0)
#if targetEnvironment(macCatalyst) // macCatalyst builds as if iOS without this target environment
let baseFontSize = 19.0
let largeFontSize = 25.0
let baseFontSize = 12.0
let largeFontSize = 12.0
#elseif os(macOS)
let baseFontSize = 15.0
let largeFontSize = 15.0
Expand Down

0 comments on commit a9f65a5

Please sign in to comment.