Skip to content

Commit f5080ac

Browse files
committed
Fix test for populate default arguments
1 parent 13e4e31 commit f5080ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test-arguments.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ private function _testParse($cliParams, $expectedValues)
231231

232232
foreach ($expectedValues as $name => $value) {
233233
if ($args->isFlag($name)) {
234-
$this->assertTrue($args[$name]);
234+
$this->assertEquals($value, $args[$name]);
235235
}
236236

237237
if ($args->isOption($name)) {

0 commit comments

Comments
 (0)