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

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

[nongnu] elpa/adoc-mode 4e13247892 058/199: test: added test for adjust-


From: ELPA Syncer
Subject: [nongnu] elpa/adoc-mode 4e13247892 058/199: test: added test for adjust-title-del
Date: Sun, 3 Sep 2023 06:59:34 -0400 (EDT)

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

    test: added test for adjust-title-del
---
 adoc-mode-test.el | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/adoc-mode-test.el b/adoc-mode-test.el
index 51221b296a..6263e58fdb 100644
--- a/adoc-mode-test.el
+++ b/adoc-mode-test.el
@@ -531,6 +531,11 @@
   (adoctest-trans "= five" "= five =" '(adoc-toggle-title-type t))
   (adoctest-trans "= six =" "= six" '(adoc-toggle-title-type t)))
 
+(ert-deftest adoctest-test-adjust-title-del ()
+  (adoctest-trans "lorem!\n===!" "lorem\n=====" '(adoc-adjust-title-del))
+  (adoctest-trans "lorem!\n========!" "lorem\n=====" '(adoc-adjust-title-del))
+  (adoctest-trans "lorem!\n=====!" "lorem\n=====" '(adoc-adjust-title-del)))
+
 (ert-deftest adoctest-pre-test-byte-compile ()
   ;; todo: also test for warnings
   (when (file-exists-p "adoc-mode.elc")



reply via email to

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