Skip to content

Commit

Permalink
Add regression test of #115
Browse files Browse the repository at this point in the history
[jrblevin@sdf.org: docstring clarification]
  • Loading branch information
syohex authored and jrblevin committed Mar 11, 2016
1 parent aea5120 commit 77fce3f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/markdown-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -2860,6 +2860,16 @@ only partially propertized."
(point-min) (point-at-eol)
'face (list markdown-bold-face)))))

(ert-deftest test-markdown-parsing/inline-code ()
"Don't cause infinite loop for inline code just after metadata block
Detail: https://github.com/jrblevin/markdown-mode/issues/115"
(markdown-test-string "---
x: x
---
`x`
"
(should (= (markdown-match-code (point-max)) (point-max)))))

;;; Reference Checking:

(ert-deftest test-markdown-references/goto-line-button ()
Expand Down

0 comments on commit 77fce3f

Please sign in to comment.