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

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

[nongnu] elpa/paredit 4cb9112 144/224: Fix `kill-line' tests now that `s


From: ELPA Syncer
Subject: [nongnu] elpa/paredit 4cb9112 144/224: Fix `kill-line' tests now that `show-trailing-whitespace' is nil.
Date: Sat, 7 Aug 2021 09:22:37 -0400 (EDT)

branch: elpa/paredit
commit 4cb911230827a2ff437c13369fbb6fafe975f08b
Author: Taylor R Campbell <campbell@mumble.net>
Commit: Taylor R Campbell <campbell@mumble.net>

    Fix `kill-line' tests now that `show-trailing-whitespace' is nil.
    
    Ignore-this: ac26793e9b31dc27c6cd85af25f4a4f2
    
    Grumble.
    
    darcs-hash:20110507220434-00fcc-9e8f7464ef213864d098eec4f6f356039401d967
---
 test.el | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/test.el b/test.el
index 5a5d9ec..c21e5f0 100644
--- a/test.el
+++ b/test.el
@@ -292,7 +292,13 @@ Four arguments: the paredit command, the text of the buffer
 ;++ Need to check whether `paredit-kill' updates the kill ring.
 
 (paredit-test 'paredit-kill
-  '(("| \n " "|\n " "| " "|" error)
+  '(("| \n "
+     ;; This ought to be an intermediate step, but evidently it is only
+     ;; in recent versions of GNU Emacs with `show-trailing-whitespace'
+     ;; set to thanks to some brain damage in `kill-line'.
+     ;;
+     ;; "|\n "
+     "| " "|" error)
     ("(| )" "(|)" "(|)")
     ("(     |        )" "(     |)" "(     |)")
     ("|(\n)" "|" error)



reply via email to

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