Skip to content

Commit 191b52a

Browse files
committed
added a test
1 parent 6345499 commit 191b52a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tests/GlobTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ class GlobTest extends \PHPUnit_Framework_TestCase
1717
{
1818
public function testGlobToRegexDelimiters()
1919
{
20+
$this->assertEquals('#^(?=[^\.])\#$#', Glob::toRegex('#'));
2021
$this->assertEquals('#^\.[^/]*$#', Glob::toRegex('.*'));
2122
$this->assertEquals('^\.[^/]*$', Glob::toRegex('.*', true, true, ''));
2223
$this->assertEquals('/^\.[^/]*$/', Glob::toRegex('.*', true, true, '/'));

0 commit comments

Comments
 (0)