Skip to content

Commit

Permalink
Swift 3 Doesn’t Have DispatchTimeInterval.never
Browse files Browse the repository at this point in the history
This broke tests further…
  • Loading branch information
Kaiede committed Aug 28, 2018
1 parent 6c6513e commit f68f4d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tests/CoreTests/BehaviorTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@ extension DispatchTimeInterval {
return microseconds
case .nanoseconds(let nanoseconds):
return nanoseconds / 1_000
#if swift(>=4.0)
case .never:
return Int.max
#endif
}
}
}
Expand Down

0 comments on commit f68f4d1

Please sign in to comment.