Skip to content

Commit 496dc59

Browse files
committed
wip
1 parent f8e746b commit 496dc59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Integration/Console/Components/TaskComponentTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function test_failing_task(): void
9494
$frames = iterator_to_array($component->render($terminal));
9595

9696
$this->assertStringContainsString('Task in progress', $frames[0]);
97-
$this->assertStringContainsString('An error occurred.', $frames[1]);
97+
$this->assertStringContainsString('An error occurred.', $frames[array_key_last($frames)]);
9898
});
9999
}
100100
}

0 commit comments

Comments
 (0)