Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Better assertion on GlobTest
Browse files Browse the repository at this point in the history
@DASPRiD suggested this... JUST in case that path exists. :rollseyes:

To be fair, his point abou the assertion matching the test name at least
makes some sense; so here it is.
  • Loading branch information
EvanDotPro committed Jul 20, 2012
1 parent da40366 commit 370cf4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/GlobTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ public function testFallback()
public function testNonMatchingGlobReturnsArray()
{
$result = Glob::glob('/some/path/{,*.}{this,orthis}.php', Glob::GLOB_BRACE);
$this->assertEquals(array(), $result);
$this->assertInternalType('array', $result);
}
}

0 comments on commit 370cf4d

Please sign in to comment.