Skip to content

Commit

Permalink
Add test: Verify no crash on .md without mmd charts
Browse files Browse the repository at this point in the history
  • Loading branch information
ghtyrant authored and MindaugasLaganeckas committed Sep 23, 2021
1 parent c7b18c1 commit ccf75a8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test-positive/no-charts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Hello!

This is a *markdown* file that contains no mermaid charts.

```
def test():
pass
```

mermaid-cli should not crash while handling this case.

0 comments on commit ccf75a8

Please sign in to comment.