emacs-orgmode
[Top][All Lists]
Advanced

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

[PATCH] test-ox: no superfluous newline in exported comments


From: Phil Estival
Subject: [PATCH] test-ox: no superfluous newline in exported comments
Date: Wed, 1 Jun 2022 07:43:31 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0


* testing/lisp/test-ox.el (test-org-export/comments) test updated
according to behavior change when exporting a comment:
a single line of comment no longer insert a blank line

TINYCHANGE
---
 testing/lisp/test-ox.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testing/lisp/test-ox.el b/testing/lisp/test-ox.el
index 28f950813..42e2a3d44 100644
--- a/testing/lisp/test-ox.el
+++ b/testing/lisp/test-ox.el
@@ -2049,7 +2049,7 @@ comments removal."
 Para2"
         (org-export-as (org-test-default-backend)))))
   (should
-   (equal "Para1\n\nPara2\n"
+   (equal "Para1\nPara2\n"
       (org-test-with-temp-text
           "Para1
 # Comment
--
2.31.GIT





reply via email to

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