[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/lentic 41bfdd8c4b 138/333: New test.
From: |
ELPA Syncer |
Subject: |
[elpa] externals/lentic 41bfdd8c4b 138/333: New test. |
Date: |
Tue, 27 Feb 2024 13:00:19 -0500 (EST) |
branch: externals/lentic
commit 41bfdd8c4bace3884a8b0419d39d90f204d76214
Author: Phillip Lord <phillip.lord@newcastle.ac.uk>
Commit: Phillip Lord <phillip.lord@newcastle.ac.uk>
New test.
---
test/lentic-test.el | 30 +++++++++++++++++++++++++++++-
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git a/test/lentic-test.el b/test/lentic-test.el
index ba7353370a..f3acb04a2c 100644
--- a/test/lentic-test.el
+++ b/test/lentic-test.el
@@ -18,10 +18,12 @@
(error "Test File does not exist: %s" file))
file))
+(defvar lentic-test-quiet t)
+
(defun lentic-test-equal-loudly (a b)
"Actually, this just tests equality and shouts if not."
;; change this to t to disable noisy printout
- (if nil
+ (if lentic-test-quiet
(string= a b)
(if (string= a b)
t
@@ -321,3 +323,29 @@ This mostly checks my test machinary."
(insert "a")
(delete-char -1))
t)))
+
+;; Editing the header one lines causes problems
+(ert-deftest orgel-org-incremental-on-header-one ()
+ (should
+ (lentic-test-clone-and-change-equal
+ 'lentic-orgel-org-init
+ "orgel-org.el" "orgel-org.el"
+ nil
+ (lambda ()
+ (show-all)
+ (goto-char (point-max))
+ ;; add a "a" just after the * character of the new line
+ (search-backward " Commentary")
+ (insert "a")
+ ;; move to the beginning of the a
+ (search-backward "a")
+ ;; delete the "*" character
+ (delete-char -1)
+ ;; insert the * character and a space
+ (insert "* ")
+ ;; remove the "a")
+ (search-forward "a")
+ (delete-char -1)
+ ;; this should be a round trip but isn't!
+ )
+ t)))
- [elpa] externals/lentic bb986c0676 116/333: New test for empty line bug., (continued)
- [elpa] externals/lentic bb986c0676 116/333: New test for empty line bug., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 772186d38f 122/333: Merge branch 'feature/incremental-blocks-update', ELPA Syncer, 2024/02/27
- [elpa] externals/lentic fce88ba411 123/333: Added marmalade for noflet., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 61d00b8ace 124/333: Files renamed to lentic., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 613556e708 127/333: Re-added .travis.yml after name change., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 123ef5f3f0 129/333: Documentation updates., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic d241dcc5be 130/333: Travis Versions Removed., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 750ee11893 132/333: m-buffer version bump., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic a1775e7f70 135/333: Specialised first and header line handling for orgel., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic e704f0363b 137/333: lentic-init made buffer-local., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 41bfdd8c4b 138/333: New test.,
ELPA Syncer <=
- [elpa] externals/lentic bd00f005fe 141/333: Update references to linked-buffer., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic bd1df9ea2c 136/333: Back to pre-release for m-buffer., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic efa43f5844 142/333: Detect b-c-f, a-c-f skew and fix., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 7dc2d77d85 146/333: Automatic skew detection added., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 05381474e7 160/333: Updated with all the random files in my version., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic b52d97a6d7 161/333: Autoloads for lentic-dev., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 3a94a88ae8 005/333: Added test functions for running after-change and post-command hooks interactively., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 777396393a 012/333: Configuration totally reworked to use eieio., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 62da9c9885 021/333: Tests reworked to use melpa., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 81ead6283c 019/333: Fix header line format, so package.el can parse it correctly, ELPA Syncer, 2024/02/27