diff --git a/Sources/SI/Precondition.swift b/Sources/SI/Precondition.swift index acc4d38..ff081b7 100644 --- a/Sources/SI/Precondition.swift +++ b/Sources/SI/Precondition.swift @@ -10,7 +10,6 @@ import XCTest func precondition(_ condition: @autoclosure () -> Bool, _ message: @autoclosure () -> String = "", file: StaticString = #file, line: UInt = #line) { preconditionClosure(condition(), message(), file, line) } -#endif /// The actual function called by our custom `precondition`. var preconditionClosure = Swift.precondition @@ -35,4 +34,7 @@ extension XCTestCase { } } +#endif + +