-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more info when asking for verbose output
Now we should show the loaded parsers and validators. Reviewed-by: Alexandre Eher <alexandre.eher@werkspot.nl> Signed-off-by: Jefersson Nathan <malukenho.dev@gmail.com>
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--TEST-- | ||
Test for showing information when asking for verbose output | ||
--FILE-- | ||
<?php | ||
|
||
$checkRunner = require __DIR__ . '/init.php'; | ||
|
||
$checkRunner('tests/assets/cli-php-tag.md -v'); | ||
|
||
--EXPECTF-- | ||
Loaded Parsers: | ||
Codelicia\Xulieta\Parser\MarkdownParser | ||
Codelicia\Xulieta\Parser\RstParser | ||
|
||
Loaded Validators: | ||
Codelicia\Xulieta\Validator\PhpValidator | ||
|
||
Finding documentation files on tests/assets/cli-php-tag.md | ||
|
||
|
||
Everything is OK! |