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

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

[nongnu] elpa/evil-numbers 7a1b62afc1: Cleanup: reduce vertical space of


From: ELPA Syncer
Subject: [nongnu] elpa/evil-numbers 7a1b62afc1: Cleanup: reduce vertical space of `concat` use in tests
Date: Tue, 31 Jan 2023 21:00:15 -0500 (EST)

branch: elpa/evil-numbers
commit 7a1b62afc12da2b582bf84d722e7b10ca8b97065
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>

    Cleanup: reduce vertical space of `concat` use in tests
---
 tests/evil-numbers-tests.el | 70 +++++++++++++++++++--------------------------
 1 file changed, 30 insertions(+), 40 deletions(-)

diff --git a/tests/evil-numbers-tests.el b/tests/evil-numbers-tests.el
index 6885ac066b..d1e285cd91 100644
--- a/tests/evil-numbers-tests.el
+++ b/tests/evil-numbers-tests.el
@@ -260,16 +260,14 @@ Setting the buffers text to INITIAL-BUFFER-TEXT."
   "Block selection test."
   (let ((text-expected
          ;; format-next-line: off
-         (concat
-          "1| 0 0\n"
-          "1 0 0\n"
-          "1 0 0\n"))
+         (concat "1| 0 0\n"
+                 "1 0 0\n"
+                 "1 0 0\n"))
         (text-initial
          ;; format-next-line: off
-         (concat
-          "0 0 0\n"
-          "0 0 0\n"
-          "0 0 0\n")))
+         (concat "0 0 0\n"
+                 "0 0 0\n"
+                 "0 0 0\n")))
     (with-evil-numbers-test text-initial
       (simulate-input
         ;; Block select the column
@@ -285,16 +283,14 @@ Setting the buffers text to INITIAL-BUFFER-TEXT."
   "Block selection test."
   (let ((text-expected
          ;; format-next-line: off
-         (concat
-          "0 1| 0\n"
-          "0 1 0\n"
-          "0 1 0\n"))
+         (concat "0 1| 0\n"
+                 "0 1 0\n"
+                 "0 1 0\n"))
         (text-initial
          ;; format-next-line: off
-         (concat
-          "0 0 0\n"
-          "0 0 0\n"
-          "0 0 0\n")))
+         (concat "0 0 0\n"
+                 "0 0 0\n"
+                 "0 0 0\n")))
     (with-evil-numbers-test text-initial
       (simulate-input
         (kbd "w")
@@ -311,16 +307,14 @@ Setting the buffers text to INITIAL-BUFFER-TEXT."
   "Block selection test."
   (let ((text-expected
          ;; format-next-line: off
-         (concat
-          "0 0 1|\n"
-          "0 0 1\n"
-          "0 0 1\n"))
+         (concat "0 0 1|\n"
+                 "0 0 1\n"
+                 "0 0 1\n"))
         (text-initial
          ;; format-next-line: off
-         (concat
-          "0 0 0\n"
-          "0 0 0\n"
-          "0 0 0\n")))
+         (concat "0 0 0\n"
+                 "0 0 0\n"
+                 "0 0 0\n")))
     (with-evil-numbers-test text-initial
       (simulate-input
         (kbd "ww")
@@ -337,16 +331,14 @@ Setting the buffers text to INITIAL-BUFFER-TEXT."
   "Incremental block selection test."
   (let ((text-expected
          ;; format-next-line: off
-         (concat
-          "1| 0 0\n"
-          "2 0 0\n"
-          "3 0 0\n"))
+         (concat "1| 0 0\n"
+                 "2 0 0\n"
+                 "3 0 0\n"))
         (text-initial
          ;; format-next-line: off
-         (concat
-          "0 0 0\n"
-          "0 0 0\n"
-          "0 0 0\n")))
+         (concat "0 0 0\n"
+                 "0 0 0\n"
+                 "0 0 0\n")))
     (with-evil-numbers-test text-initial
       (simulate-input
         ;; Block select the column
@@ -361,16 +353,14 @@ Setting the buffers text to INITIAL-BUFFER-TEXT."
   "Incremental line selection test."
   (let ((text-expected
          ;; format-next-line: off
-         (concat
-          "1| 2 3\n"
-          "4 5 6\n"
-          "7 8 9\n"))
+         (concat "1| 2 3\n"
+                 "4 5 6\n"
+                 "7 8 9\n"))
         (text-initial
          ;; format-next-line: off
-         (concat
-          "0 0 0\n"
-          "0 0 0\n"
-          "0 0 0\n")))
+         (concat "0 0 0\n"
+                 "0 0 0\n"
+                 "0 0 0\n")))
     (with-evil-numbers-test text-initial
       (simulate-input
         ;; Block select the column



reply via email to

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