Skip to content

Function

expectContent(_:_:fileID:filePath:line:column:_:)

func expectContent<D>(_ type: D.Type, _ res: TestingHTTPResponse, fileID: String = #fileID, filePath: String = #filePath, line: Int = #line, column: Int = #column, _ closure: (D) throws -> ()) rethrows where D : Decodable