]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove uneffective test
authorAndrea Corallo <akrl@sdf.org>
Fri, 8 Jul 2022 13:54:20 +0000 (15:54 +0200)
committerAndrea Corallo <akrl@sdf.org>
Wed, 13 Jul 2022 13:19:27 +0000 (15:19 +0200)
* test/src/comp-tests.el (45603-1): Remove test.
* test/src/comp-resources/comp-test-45603.el: Delete.

test/src/comp-resources/comp-test-45603.el [deleted file]
test/src/comp-tests.el

diff --git a/test/src/comp-resources/comp-test-45603.el b/test/src/comp-resources/comp-test-45603.el
deleted file mode 100644 (file)
index f1c0daf..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-;;; -*- lexical-binding: t; -*-
-
-;; Reduced from ivy.el.
-
-(defvar comp-test-45603-last)
-(defvar comp-test-45603-mark-prefix)
-(defvar comp-test-45603-directory)
-(defvar comp-test-45603-marked-candidates)
-
-(defun comp-test-45603--call-marked (action)
-  (let* ((prefix-len (length comp-test-45603-mark-prefix))
-         (marked-candidates
-          (mapcar
-           (lambda (s)
-             (let ((cand (substring s prefix-len)))
-               (if comp-test-45603-directory
-                   (expand-file-name cand comp-test-45603-directory)
-                 cand)))
-           comp-test-45603-marked-candidates))
-         (multi-action (comp-test-45603--get-multi-action comp-test-45603-last)))))
-
-(defalias 'comp-test-45603--file-local-name
-  (if (fboundp 'file-local-name)
-      #'file-local-name
-    (lambda (file)
-      (or (file-remote-p file 'localname) file))))
-
-(provide 'comp-test-45603)
index af40eb247dec4ad9e907514f2294e0bf8790ef60..26fdfc7d07dfda4330632eddaf3819dee8641f2b 100644 (file)
@@ -489,11 +489,6 @@ https://lists.gnu.org/archive/html/bug-gnu-emacs/2020-03/msg00914.html."
   (should (string= (comp-test-45635-f :height 180 :family "PragmataPro Liga")
                    "PragmataPro Liga")))
 
-(comp-deftest 45603-1 ()
-  "<https://lists.gnu.org/archive/html/bug-gnu-emacs/2020-12/msg01994.html>"
-  (load (native-compile (ert-resource-file "comp-test-45603.el")))
-  (should (fboundp #'comp-test-45603--file-local-name)))
-
 (comp-deftest 46670-1 ()
   "<https://lists.gnu.org/archive/html/bug-gnu-emacs/2021-02/msg01413.html>"
   (should (string= (comp-test-46670-2-f "foo") "foo"))