diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/emacs-lisp/bytecomp-tests.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/lisp/emacs-lisp/bytecomp-tests.el b/test/lisp/emacs-lisp/bytecomp-tests.el index a335a7fa1f8..e644417c3d4 100644 --- a/test/lisp/emacs-lisp/bytecomp-tests.el +++ b/test/lisp/emacs-lisp/bytecomp-tests.el | |||
| @@ -1875,7 +1875,7 @@ EXPECTED-POINT BINDINGS (MODES \\='\\='(ruby-mode js-mode python-mode)) \ | |||
| 1875 | (FIXTURE-FN \\='#\\='electric-pair-mode))" fill-column))) | 1875 | (FIXTURE-FN \\='#\\='electric-pair-mode))" fill-column))) |
| 1876 | 1876 | ||
| 1877 | (ert-deftest bytecomp-test-defcustom-type () | 1877 | (ert-deftest bytecomp-test-defcustom-type () |
| 1878 | (cl-flet ((dc (type) `(defcustom mytest nil "doc" :type ',type))) | 1878 | (cl-flet ((dc (type) `(defcustom mytest nil "doc" :type ',type :group 'test))) |
| 1879 | (bytecomp--with-warning-test | 1879 | (bytecomp--with-warning-test |
| 1880 | (rx "type should not be quoted") (dc ''integer)) | 1880 | (rx "type should not be quoted") (dc ''integer)) |
| 1881 | (bytecomp--with-warning-test | 1881 | (bytecomp--with-warning-test |
| @@ -1891,6 +1891,9 @@ EXPECTED-POINT BINDINGS (MODES \\='\\='(ruby-mode js-mode python-mode)) \ | |||
| 1891 | (rx "duplicated value in `choice': `a'") | 1891 | (rx "duplicated value in `choice': `a'") |
| 1892 | (dc '(choice (const a) (const b) (const a)))) | 1892 | (dc '(choice (const a) (const b) (const a)))) |
| 1893 | (bytecomp--with-warning-test | 1893 | (bytecomp--with-warning-test |
| 1894 | (rx "duplicated :tag string in `choice': \"X\"") | ||
| 1895 | (dc '(choice (const :tag "X" a) (const :tag "Y" b) (other :tag "X" c)))) | ||
| 1896 | (bytecomp--with-warning-test | ||
| 1894 | (rx "`cons' requires 2 type specs, found 1") | 1897 | (rx "`cons' requires 2 type specs, found 1") |
| 1895 | (dc '(cons :tag "a" integer))) | 1898 | (dc '(cons :tag "a" integer))) |
| 1896 | (bytecomp--with-warning-test | 1899 | (bytecomp--with-warning-test |