We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents af34ff5 + 46c9697 commit c2afdc4Copy full SHA for c2afdc4
benchmark/utils/TestsUtils.swift
@@ -170,20 +170,6 @@ public func CheckResults(
170
}
171
172
173
-// Due to potential overhead of passing closures around on the
174
-// performance measurements, this version is now deprecated
175
-@available(*, deprecated,
176
- message: "For debugging test failures only! Use the version without message.")
177
-public func CheckResults(
178
- _ resultsMatch: Bool,
179
- _ message: @autoclosure () -> String
180
- ) {
181
- guard resultsMatch else {
182
- print(message())
183
- abort()
184
- }
185
-}
186
-
187
public func False() -> Bool { return false }
188
189
/// This is a dummy protocol to test the speed of our protocol dispatch.
0 commit comments