From f68f4d184d7e7ef488f99e64a65cc81f826430c3 Mon Sep 17 00:00:00 2001 From: Adam Thayer Date: Mon, 27 Aug 2018 19:18:33 -0700 Subject: [PATCH] =?UTF-8?q?Swift=203=20Doesn=E2=80=99t=20Have=20DispatchTi?= =?UTF-8?q?meInterval.never?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This broke tests further… --- Tests/CoreTests/BehaviorTests.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tests/CoreTests/BehaviorTests.swift b/Tests/CoreTests/BehaviorTests.swift index 84cfbb5..a64b337 100644 --- a/Tests/CoreTests/BehaviorTests.swift +++ b/Tests/CoreTests/BehaviorTests.swift @@ -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 } } }