From c2c106f5185a8990abe0778910be9b575e307655 Mon Sep 17 00:00:00 2001 From: Ian Rahman Date: Fri, 8 Nov 2024 18:54:35 -0500 Subject: [PATCH] Update DSL+Wait.swift (#1176) Fix error message grammar --- Sources/Nimble/DSL+Wait.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Nimble/DSL+Wait.swift b/Sources/Nimble/DSL+Wait.swift index 8995bc964..a91e919a2 100644 --- a/Sources/Nimble/DSL+Wait.swift +++ b/Sources/Nimble/DSL+Wait.swift @@ -127,7 +127,7 @@ public class NMBWait: NSObject { internal func blockedRunLoopErrorMessageFor(_ fnName: String, leeway: NimbleTimeInterval) -> String { // swiftlint:disable:next line_length - return "\(fnName) timed out but was unable to run the timeout handler because the main thread is unresponsive (\(leeway.description) is allow after the wait times out). Conditions that may cause this include processing blocking IO on the main thread, calls to sleep(), deadlocks, and synchronous IPC. Nimble forcefully stopped run loop which may cause future failures in test run." + return "\(fnName) timed out but was unable to run the timeout handler because the main thread is unresponsive. (\(leeway.description) is allowed after the wait times out) Conditions that may cause this include processing blocking IO on the main thread, calls to sleep(), deadlocks, and synchronous IPC. Nimble forcefully stopped the run loop which may cause future failures in test runs." } /// Wait asynchronously until the done closure is called or the timeout has been reached.