mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2025-08-15 23:20:06 +02:00
👌 Shell tweaks, fix ComposerWindow async issue
This commit is contained in:
@@ -31,7 +31,7 @@ class SystemShellTest: XCTestCase {
|
||||
func test_system_shell_can_buffer_output() async {
|
||||
var bits: [String] = []
|
||||
|
||||
let shellOutput = try! await Shell.attach(
|
||||
let (_, shellOutput) = try! await Shell.attach(
|
||||
"php -r \"echo 'Hello world' . PHP_EOL; usleep(200); echo 'Goodbye world';\"",
|
||||
didReceiveOutput: { incoming in
|
||||
bits.append(incoming.out)
|
||||
|
Reference in New Issue
Block a user