Commit | Line | Data |
---|---|---|
6da8d069 GM |
1 | ;;; help-fns.el --- tests for help-fns.el |
2 | ||
3 | ;; Copyright (C) 2014 Free Software Foundation, Inc. | |
4 | ||
5 | ;; Maintainer: emacs-devel@gnu.org | |
6 | ||
7 | ;; This file is part of GNU Emacs. | |
8 | ||
9 | ;; GNU Emacs is free software: you can redistribute it and/or modify | |
10 | ;; it under the terms of the GNU General Public License as published by | |
11 | ;; the Free Software Foundation, either version 3 of the License, or | |
12 | ;; (at your option) any later version. | |
13 | ||
14 | ;; GNU Emacs is distributed in the hope that it will be useful, | |
15 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 | ;; GNU General Public License for more details. | |
18 | ||
19 | ;; You should have received a copy of the GNU General Public License | |
20 | ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | |
21 | ||
22 | ;;; Commentary: | |
23 | ||
24 | ;;; Code: | |
25 | ||
26 | (require 'ert) | |
27 | ||
28 | (autoload 'help-fns-test--macro "help-fns" nil nil t) | |
29 | ||
30 | (ert-deftest help-fns-test-bug17410 () | |
31 | "Test for http://debbugs.gnu.org/17410 ." | |
32 | (describe-function 'help-fns-test--macro) | |
33 | (with-current-buffer "*Help*" | |
34 | (goto-char (point-min)) | |
35 | (should (search-forward "autoloaded Lisp macro" (line-end-position))))) | |
36 | ||
37 | ;;; help-fns.el ends here |