Skip to content

Commit 4b08d39

Browse files
author
Dave Hulbert
committed
Fix param order of assertEquals (expected, actual) in test for Finder\Glob
1 parent f71c758 commit 4b08d39

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)