Skip to content

Commit dce9221

Browse files
authored
Merge pull request #887 from Quick/remove-deprecated-unavailable-apis
[BREAKING] Remove deprecated and unavailable APIs
2 parents 1c30c1d + f3cfc51 commit dce9221

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

Sources/Nimble/Matchers/Async.swift

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,6 @@ public struct AsyncDefaults {
88
public static var pollInterval: DispatchTimeInterval = .milliseconds(10)
99
}
1010

11-
extension AsyncDefaults {
12-
@available(*, unavailable, renamed: "timeout")
13-
public static var Timeout: TimeInterval = 1
14-
@available(*, unavailable, renamed: "pollInterval")
15-
public static var PollInterval: TimeInterval = 0.01
16-
}
17-
1811
private enum AsyncMatchStyle {
1912
case eventually, never
2013
}

Sources/Nimble/Matchers/PostNotification.swift

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,6 @@ public func postNotifications<Out>(
8787
_postNotifications(predicate, from: center)
8888
}
8989

90-
@available(*, deprecated, renamed: "postNotifications(_:from:)")
91-
public func postNotifications<Out>(
92-
_ predicate: Predicate<[Notification]>,
93-
fromNotificationCenter center: NotificationCenter
94-
) -> Predicate<Out> {
95-
postNotifications(predicate, from: center)
96-
}
97-
9890
#if os(macOS)
9991
public func postDistributedNotifications<Out>(
10092
_ predicate: Predicate<[Notification]>,

0 commit comments

Comments
 (0)