Skip to content

Commit 6f888fb

Browse files
committed
Merge branch '6.4' into 7.2
* 6.4: [Console] Windows Test Error - change completecar for windows for passing test Increase compatibility of debug toolbar compatibility with Turbo
2 parents cb35ea4 + 9fb3320 commit 6f888fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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+
$completeChar = '\\' !== \DIRECTORY_SEPARATOR ? '' : '=';
63+
self::assertMatchesRegularExpression('~3/3\s+\['.$completeChar.'+]\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)