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 74895de commit 997eda8Copy full SHA for 997eda8
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);
+ $completeChar = '\\' !== \DIRECTORY_SEPARATOR ? '▓' : '=';
63
+ self::assertMatchesRegularExpression('~3/3\s+\['.$completeChar.'+]\s+100%~u', $output);
64
self::assertStringContainsString('Loop finished.', $output);
65
self::assertEquals(3, substr_count($output, 'Hello world'));
66
}
0 commit comments