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

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

[nongnu] elpa/adoc-mode 03f080fe6b 019/199: extended delimited block tes


From: ELPA Syncer
Subject: [nongnu] elpa/adoc-mode 03f080fe6b 019/199: extended delimited block tests with checking adoc-align face
Date: Sun, 3 Sep 2023 06:59:14 -0400 (EDT)

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

    extended delimited block tests with checking adoc-align face
---
 adoc-mode-test.el | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/adoc-mode-test.el b/adoc-mode-test.el
index 3212eb550c..a4ba94d4ae 100644
--- a/adoc-mode-test.el
+++ b/adoc-mode-test.el
@@ -77,22 +77,25 @@
 
 (ert-deftest adoctest-test-delimited-blocks-simple ()
   (adoctest-faces
+
+   ;; note that the leading spaces are NOT allowed to have adoc-align face
    "////////" markup-meta-hide-face "\n" nil
-   "comment line 1\ncomment line 2" markup-comment-face "\n" nil
+   " comment line 1\n comment line 2" markup-comment-face "\n" nil
    "////////" markup-meta-hide-face "\n" nil
    "\n" nil
    "++++++++" markup-meta-hide-face "\n" nil
-   "passthrouh line 1\npassthrouh line 2" markup-passthrough-face "\n" nil
+   " passthrouh line 1\n passthrouh line 2" markup-passthrough-face "\n" nil
    "++++++++" markup-meta-hide-face "\n" nil
    "\n" nil
    "--------" markup-meta-hide-face "\n" nil
-   "listing line 1\nlisting line 2" markup-code-face "\n" nil
+   " listing line 1\n listing line 2" markup-code-face "\n" nil
    "--------" markup-meta-hide-face "\n" nil
    "\n" nil
    "........" markup-meta-hide-face "\n" nil
-   "literal line 1\nliteral line 2" markup-verbatim-face "\n" nil
+   " literal line 1\n literal line 2" markup-verbatim-face "\n" nil
    "........" markup-meta-hide-face "\n" nil
    "\n" nil
+
    "________" markup-meta-hide-face "\n" nil
    "quote line 1\nquote line 2" nil "\n" nil
    "________" markup-meta-hide-face "\n" nil



reply via email to

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