Skip to content

Commit

Permalink
Add one more test case for mixed content
Browse files Browse the repository at this point in the history
Signed-off-by: Jefersson Nathan <[email protected]>
  • Loading branch information
malukenho committed May 14, 2020
1 parent c343f0e commit 0d52d95
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/unit/External/MarkinhoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,14 @@ public function markdownProvider() : array
```
some more text
```sql
SELECT * FROM Account LIMIT 2
```
',
'expectedCodeBlock' => [
new SampleCode('fake-file.md', '', 5, "x = 1"),
new SampleCode('fake-file.md', '', 11, "y = 2;\nz = 10;"),
new SampleCode('fake-file.md', 'sql', 17, "SELECT * FROM Account LIMIT 2"),
],
],
'code block' => [
Expand Down

0 comments on commit 0d52d95

Please sign in to comment.