Skip to content

Commit 4b5e29d

Browse files
committed
Remove the leading - before each path and add a trailing / to all paths
1 parent 553066a commit 4b5e29d

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

src/Symfony/Bridge/Twig/Command/DebugCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
159159
}
160160
$firstNamespace = false;
161161
foreach ($paths as $path) {
162-
$rows[] = array($namespace, '- '.$path);
162+
$rows[] = array($namespace, $path.DIRECTORY_SEPARATOR);
163163
$namespace = '';
164164
}
165165
if (count($paths) > 1) {

src/Symfony/Bridge/Twig/Tests/Command/DebugCommandTest.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,18 @@ public function testLineSeparatorInLoaderPaths()
4343
Loader Paths
4444
------------
4545
46-
----------- -------------
47-
Namespace Paths
48-
----------- -------------
49-
@Acme - extractor
50-
- extractor
51-
52-
@!Acme - extractor
53-
- extractor
54-
55-
(None) - extractor
56-
- extractor
57-
----------- -------------
46+
----------- ------------
47+
Namespace Paths
48+
----------- ------------
49+
@Acme extractor/
50+
extractor/
51+
52+
@!Acme extractor/
53+
extractor/
54+
55+
(None) extractor/
56+
extractor/
57+
----------- ------------
5858
TXT;
5959

6060
$this->assertEquals(0, $ret, 'Returns 0 in case of success');

0 commit comments

Comments
 (0)