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.
2 parents cb35ea4 + 9fb3320 commit 6f888fbCopy full SHA for 6f888fb
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