Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

253 B
Raw Blame
import XCTest

func assertThrowsAsync<T>(_ operation: @autoclosure () async throws -> T,
  file: StaticString = #filePath, line: UInt = #line) async {
  do { _ = try await operation(); XCTFail("Expected failure", file: file, line: line) }
  catch { }
}