From 6aafece535120367dccf59a8a465493f5a12ecc9 Mon Sep 17 00:00:00 2001 From: Jason Blevins Date: Sun, 10 Jan 2016 09:37:08 -0500 Subject: [PATCH] More complex test for italics in list items --- tests/markdown-test.el | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/markdown-test.el b/tests/markdown-test.el index 7216e767..d506793b 100644 --- a/tests/markdown-test.el +++ b/tests/markdown-test.el @@ -1743,11 +1743,19 @@ 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-string + "* something about function + foo_bar +* something else about + foo_bar" + (markdown-test-range-has-face 30 36 nil) + (markdown-test-range-has-face 63 69 nil)) (markdown-test-string "foo_bar * foo_bar"