Skip to content

Commit ebd99e3

Browse files
committed
test: add more tests
1 parent e131a7f commit ebd99e3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/FlagsParserTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ private function doCheckBasic(FlagsParser $fs): void
4444
$this->assertTrue($fs->hasOpt('name'));
4545
$this->assertFalse($fs->hasInputOpt('name'));
4646
$this->assertFalse($fs->hasOpt('not-exist'));
47+
$this->assertNotEmpty($fs->getOptDefine('name'));
4748
}
4849

4950
public function testGetOptAndGetArg(): void

0 commit comments

Comments
 (0)