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

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

[elpa] externals/lentic bb986c0676 116/333: New test for empty line bug.


From: ELPA Syncer
Subject: [elpa] externals/lentic bb986c0676 116/333: New test for empty line bug.
Date: Tue, 27 Feb 2024 13:00:14 -0500 (EST)

branch: externals/lentic
commit bb986c06761afc74744404d3bdbf8208b0d4ceee
Author: Phillip Lord <phillip.lord@newcastle.ac.uk>
Commit: Phillip Lord <phillip.lord@newcastle.ac.uk>

    New test for empty line bug.
---
 test/linked-buffer-test.el | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/test/linked-buffer-test.el b/test/linked-buffer-test.el
index 38dc359f22..369b447bd6 100644
--- a/test/linked-buffer-test.el
+++ b/test/linked-buffer-test.el
@@ -296,6 +296,19 @@ This mostly checks my test machinary."
       (insert ";")
       (insert ";")))))
 
+(ert-deftest clojure-latex-empty-line ()
+  "Tests for a deletion of an empty line"
+  (should
+   (linked-buffer-test-clone-and-change-equal
+    'linked-buffer-clojure-latex-init
+    "block-comment.clj" "block-comment.tex"
+    nil
+    (lambda ()
+      (goto-char (point-min))
+      (forward-line 1)
+      (delete-char 1)
+      (insert "\n")))))
+
 (ert-deftest orgel-org-incremental ()
   (should
    (linked-buffer-test-clone-and-change-equal



reply via email to

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