Skip to content

Commit

Permalink
Slightly increase the default timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Supereg committed Aug 15, 2024
1 parent a2b1275 commit 087c840
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/XCTRuntimeAssertions/XCTRuntimePrecondition.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import Foundation
/// - Throws: Throws an `XCTFail` error if the expression does not trigger a runtime assertion with the parameters defined above.
public func XCTRuntimePrecondition(
validateRuntimeAssertion: ((String) -> Void)? = nil,
timeout: TimeInterval = 0.01,
timeout: TimeInterval = 1,
_ message: @autoclosure () -> String = "",
file: StaticString = #filePath,
line: UInt = #line,
Expand Down Expand Up @@ -80,7 +80,7 @@ public func XCTRuntimePrecondition(
/// - Throws: Throws an `XCTFail` error if the expression does not trigger a runtime assertion with the parameters defined above.
public func XCTRuntimePrecondition(
validateRuntimeAssertion: ((String) -> Void)? = nil,
timeout: TimeInterval = 0.01,
timeout: TimeInterval = 1,
_ message: @autoclosure () -> String = "",
file: StaticString = #filePath,
line: UInt = #line,
Expand Down

0 comments on commit 087c840

Please sign in to comment.