Skip to content

Commit

Permalink
Update tests for issue 67
Browse files Browse the repository at this point in the history
- Remove expected-result attribute
- Add tests start or end line is list
  • Loading branch information
syohex committed Jan 10, 2016
1 parent a36d033 commit a48516c
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions tests/markdown-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -1743,12 +1743,22 @@ the opening bracket of [^2], and then subsequent functions would kill [^2])."

(ert-deftest test-markdown-font-lock/italics-6 ()
"Test multiline italics across list items."
:expected-result :failed
(markdown-test-string
"* something about function foo_bar
* something else about foo_bar"
(markdown-test-range-has-face 31 34 nil)
(markdown-test-range-has-face 38 62 nil)))
(markdown-test-range-has-face 38 62 nil))
(markdown-test-string
"foo_bar
* foo_bar"
(markdown-test-range-has-face 4 7 nil)
(markdown-test-range-has-face 11 14 nil))

(markdown-test-string
"* foo_bar
foo_bar"
(markdown-test-range-has-face 6 9 nil)
(markdown-test-range-has-face 11 14 nil)))

(ert-deftest test-markdown-font-lock/italics-after-hr ()
"Test italics after a horizontal rule with asterisks."
Expand Down

0 comments on commit a48516c

Please sign in to comment.