[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master b5d2c6e: Remove two checkdoc tests checked in by mi
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master b5d2c6e: Remove two checkdoc tests checked in by mistake |
Date: |
Fri, 11 Oct 2019 01:46:47 -0400 (EDT) |
branch: master
commit b5d2c6ee018df3cab96d44bb50eaa933aa1d865e
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Remove two checkdoc tests checked in by mistake
* test/lisp/emacs-lisp/checkdoc-tests.el: Remove &aux and &context
checks mistakenly checked in (as these aren't implemented) (bug#37697).
---
test/lisp/emacs-lisp/checkdoc-tests.el | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/test/lisp/emacs-lisp/checkdoc-tests.el
b/test/lisp/emacs-lisp/checkdoc-tests.el
index de75c42..3fbf25d 100644
--- a/test/lisp/emacs-lisp/checkdoc-tests.el
+++ b/test/lisp/emacs-lisp/checkdoc-tests.el
@@ -111,13 +111,6 @@
(insert "(cl-defun foo (&key a &allow-other-keys) \"Return :A.\")")
(checkdoc-defun)))
-(ert-deftest checkdoc-cl-defun-with-aux-ok ()
- "Checkdoc should be happy with a cl-defun using &aux."
- (with-temp-buffer
- (emacs-lisp-mode)
- (insert "(cl-defun foo (a b &aux (c (+ a b))) \"Return A and B.\")")
- (checkdoc-defun)))
-
(ert-deftest checkdoc-cl-defun-with-default-optional-value-ok ()
"Checkdoc should be happy with a cl-defun using default values for optional
args."
(with-temp-buffer
@@ -134,15 +127,6 @@
(insert "(cl-defun foo ((a b &optional c) d) \"Return A+B+C+D.\")")
(checkdoc-defun)))
-(ert-deftest checkdoc-cl-defmethod-with-context-ok ()
- "Checkdoc should ignore context specializers in a cl-defmethod."
- (with-temp-buffer
- (emacs-lisp-mode)
- ;; A context specializer is used to select the correct method but
- ;; doesn't have to appear in the docstring:
- (insert "(cl-defmethod foo (a &context (global-var (eql foo))) \"Return
A.\")")
- (checkdoc-defun)))
-
(ert-deftest checkdoc-tests--next-docstring ()
"Checks that the one-argument form of `defvar' works.
See the comments in Bug#24998."
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master b5d2c6e: Remove two checkdoc tests checked in by mistake,
Lars Ingebrigtsen <=