Skip to content

Commit 9ecb7ee

Browse files
committed
Merge remote-tracking branch 'origin/2.7' into 2.8
Conflicts: src/Symfony/Bundle/FrameworkBundle/Command/TranslationDebugCommand.php src/Symfony/Component/DependencyInjection/Tests/Compiler/ResolveDefinitionTemplatesPassTest.php
2 parents 588ded8 + 4b08d39 commit 9ecb7ee

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Tests/GlobTest.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@
1515

1616
class GlobTest extends \PHPUnit_Framework_TestCase
1717
{
18-
1918
public function testGlobToRegexDelimiters()
2019
{
21-
$this->assertEquals(Glob::toRegex('.*'), '#^\.[^/]*$#');
22-
$this->assertEquals(Glob::toRegex('.*', true, true, ''), '^\.[^/]*$');
23-
$this->assertEquals(Glob::toRegex('.*', true, true, '/'), '/^\.[^/]*$/');
20+
$this->assertEquals('#^\.[^/]*$#', Glob::toRegex('.*'));
21+
$this->assertEquals('^\.[^/]*$', Glob::toRegex('.*', true, true, ''));
22+
$this->assertEquals('/^\.[^/]*$/', Glob::toRegex('.*', true, true, '/'));
2423
}
2524
}

0 commit comments

Comments
 (0)