Thanks to visit codestin.com Credit goes to github.com
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 f987f3c commit 9fb3320Copy full SHA for 9fb3320
1 file changed
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