Skip to content

Commit e148f01

Browse files
committed
change completecar for windows
1 parent a00793f commit e148f01

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Symfony/Component/Console/Tests/Command/TraceableCommandTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ public function testRunIsNotOverriddenWithProfile()
5959

6060
public function assertLoopOutputCorrectness(string $output)
6161
{
62-
self::assertMatchesRegularExpression('~3/3\s+\[▓+]\s+100%~u', $output);
62+
$completeCar = '\\' !== \DIRECTORY_SEPARATOR ? '' : '=';
63+
self::assertMatchesRegularExpression('~3/3\s+\[' . $completeCar . '+]\s+100%~u', $output);
6364
self::assertStringContainsString('Loop finished.', $output);
6465
self::assertEquals(3, substr_count($output, 'Hello world'));
6566
}

0 commit comments

Comments
 (0)