emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/adoc-mode 526e058665 029/199: added another list item test


From: ELPA Syncer
Subject: [nongnu] elpa/adoc-mode 526e058665 029/199: added another list item test
Date: Sun, 3 Sep 2023 06:59:23 -0400 (EDT)

branch: elpa/adoc-mode
commit 526e058665f7ef1019e9b579f7172441d1969a41
Author: Florian Kaufmann <sensorflo@gmail.com>
Commit: Florian Kaufmann <sensorflo@gmail.com>

    added another list item test
---
 adoc-mode-test.el | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/adoc-mode-test.el b/adoc-mode-test.el
index 753c729d34..71d4a54893 100644
--- a/adoc-mode-test.el
+++ b/adoc-mode-test.el
@@ -184,6 +184,14 @@
    "+" markup-meta-face "\n" nil
    "2nd list paragraph\n" nil ))
 
+(ert-deftest adoctest-test-lists-medium ()
+  (adoctest-faces "test-lists-medium"
+   ;; white box test: labeled list item font lock keyword is implemented
+   ;; specially in that it puts adoc-reserved text-property on the preceding
+   ;; newline. However it shall deal with the situation that there is no
+   ;; preceding newline, because we're at the beginning of the buffer
+   "lorem" markup-gen-face "::" markup-list-face " " nil "ipsum" 'no-face))
+
 (ert-deftest adoctest-test-meta-face-cleanup ()
   ;; begin with a few simple explicit cases which are easier to debug in case 
of troubles
   (adoctest-faces "meta-face-cleanup-1"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]