Skip to content

Commit

Permalink
Update tests for older platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
vsanthanam committed Jun 10, 2022
1 parent f4e97f7 commit ab77d83
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions Tests/NetworkReachabilityTests/NetworkMonitorTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ import XCTest
@available(macOS 10.14, iOS 12.0, watchOS 5.0, tvOS 12.0, *)
final class NetworkMonitorTests: XCTestCase {

@available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
var cancellable: AnyCancellable?
#if canImport(Combine)
var cancellable: AnyCancellable?
#endif

@available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
func test_get_concurrency() async {
Expand Down
5 changes: 3 additions & 2 deletions Tests/NetworkReachabilityTests/ReachabilityMonitorTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ import XCTest
@available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
final class ReachabilityMonitorTests: XCTestCase {

@available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
var cancellable: AnyCancellable?
#if canImport(Combine)
var cancellable: AnyCancellable?
#endif

func test_get_sync() {
do {
Expand Down

0 comments on commit ab77d83

Please sign in to comment.