silence #file to #filePath warning (#91)
This commit is contained in:
parent
7e330732f2
commit
2ac8fde712
|
|
@ -20,7 +20,8 @@ import Foundation
|
|||
import Network
|
||||
|
||||
|
||||
func assertNoThrowWithValue<T>(_ body: @autoclosure () throws -> T, defaultValue: T? = nil, message: String? = nil, file: StaticString = #file, line: UInt = #line) throws -> T {
|
||||
func assertNoThrowWithValue<T>(_ body: @autoclosure () throws -> T, defaultValue: T? = nil, message: String? = nil,
|
||||
file: StaticString = (#file), line: UInt = #line) throws -> T {
|
||||
do {
|
||||
return try body()
|
||||
} catch {
|
||||
|
|
|
|||
Loading…
Reference in New Issue