We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a00793f commit e148f01Copy full SHA for e148f01
src/Symfony/Component/Console/Tests/Command/TraceableCommandTest.php
@@ -59,7 +59,8 @@ public function testRunIsNotOverriddenWithProfile()
59
60
public function assertLoopOutputCorrectness(string $output)
61
{
62
- self::assertMatchesRegularExpression('~3/3\s+\[▓+]\s+100%~u', $output);
+ $completeCar = '\\' !== \DIRECTORY_SEPARATOR ? '▓' : '=';
63
+ self::assertMatchesRegularExpression('~3/3\s+\[' . $completeCar . '+]\s+100%~u', $output);
64
self::assertStringContainsString('Loop finished.', $output);
65
self::assertEquals(3, substr_count($output, 'Hello world'));
66
}
0 commit comments