mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2025-08-11 21:40:08 +02:00
👌 Added various TODO items
This commit is contained in:
@@ -33,6 +33,8 @@ public class TestableShell: Shellable {
|
|||||||
didReceiveOutput: @escaping (String, ShellStream) -> Void,
|
didReceiveOutput: @escaping (String, ShellStream) -> Void,
|
||||||
withTimeout timeout: TimeInterval
|
withTimeout timeout: TimeInterval
|
||||||
) async throws -> (Process, ShellOutput) {
|
) async throws -> (Process, ShellOutput) {
|
||||||
|
// TODO: Add delay to track down issues
|
||||||
|
// TODO: Remove assertion
|
||||||
assert(expectations.keys.contains(command), "No response declared for command: \(command)")
|
assert(expectations.keys.contains(command), "No response declared for command: \(command)")
|
||||||
|
|
||||||
guard let expectation = expectations[command] else {
|
guard let expectation = expectations[command] else {
|
||||||
|
Reference in New Issue
Block a user