File: Scheduler-Adapt-filler-in-tests.patch

package info (click to toggle)
symfony 8.0.0~rc1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 128,876 kB
  • sloc: php: 1,510,009; xml: 2,415; javascript: 979; sh: 586; makefile: 244; pascal: 70
file content (24 lines) | stat: -rw-r--r-- 1,011 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Tue, 1 Aug 2023 13:50:56 +0200
Subject: [Scheduler] Adapt filler in tests

Should be replaced by an unknown number of spaces to be uncluded upstream.

Forwarded: no
---
 src/Symfony/Component/Scheduler/Tests/Command/DebugCommandTest.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Symfony/Component/Scheduler/Tests/Command/DebugCommandTest.php b/src/Symfony/Component/Scheduler/Tests/Command/DebugCommandTest.php
index e5f1843..1acdb11 100644
--- a/src/Symfony/Component/Scheduler/Tests/Command/DebugCommandTest.php
+++ b/src/Symfony/Component/Scheduler/Tests/Command/DebugCommandTest.php
@@ -38,7 +38,7 @@ class DebugCommandTest extends TestCase
 
         $tester->execute([], ['decorated' => false]);
 
-        $filler = str_repeat(' ', 92);
+        $filler = str_repeat(' ', 52);
         $this->assertSame("\nScheduler\n=========\n\n [ERROR] No schedules found.{$filler}\n\n", $tester->getDisplay(true));
     }