Skip to content

Commit

Permalink
Fix bug with unsupported language code sample
Browse files Browse the repository at this point in the history
Reviewed-by: Alexandre Eher <[email protected]>
Signed-off-by: Jefersson Nathan <[email protected]>
  • Loading branch information
EHER authored and malukenho committed Nov 21, 2020
1 parent 110833b commit b4d0fe4
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/assets/unsupported-language.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Some bash script:

```bash
ls -lah
```
14 changes: 14 additions & 0 deletions tests/functional/unsupported-language.phpt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
--TEST--
Ignore unsupported language
--FILE--
<?php

$checkRunner = require __DIR__ . '/init.php';

$checkRunner('tests/assets/unsupported-language.md');

--EXPECTF--
Finding documentation files on tests/assets/unsupported-language.md


Everything is OK!

0 comments on commit b4d0fe4

Please sign in to comment.