]> git.eshelyaron.com Git - emacs.git/commitdiff
rename a function test to avoid name clashing
authorAndrea Corallo <andrea_corallo@yahoo.it>
Mon, 2 Sep 2019 15:32:26 +0000 (17:32 +0200)
committerAndrea Corallo <akrl@sdf.org>
Wed, 1 Jan 2020 10:37:43 +0000 (11:37 +0100)
test/src/comp-tests.el

index a719dfaa6ca1da4dba6f42938bd0593841ede314..fa87b7f454c24d0a69248a883a9e00c625314ae6 100644 (file)
   (defun comp-tests-consp-f (x)
     ;; Bconsp
     (consp x))
-  (defun comp-tests-car-f (x)
+  (defun comp-tests-setcar2-f (x)
     ;; Bsetcar
     (setcar x 3))
 
   (should (eq (comp-test-apply #'comp-tests-consp-f '(1)) t))
   (should (eq (comp-test-apply #'comp-tests-consp-f 1) nil))
   (let ((x (cons 1 2)))
-    (should (= (comp-test-apply #'comp-tests-car-f x) 3))
+    (should (= (comp-test-apply #'comp-tests-setcar2-f x) 3))
     (should (equal x '(3 . 2)))))
 
 (ert-deftest comp-tests-num-inline ()