diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/subr-tests.el | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/lisp/subr-tests.el b/test/lisp/subr-tests.el index 45dd2d71603..ced2bc5c4e5 100644 --- a/test/lisp/subr-tests.el +++ b/test/lisp/subr-tests.el | |||
| @@ -1081,5 +1081,14 @@ final or penultimate step during initialization.")) | |||
| 1081 | (dolist (c (list ?a ?b ?α ?β)) | 1081 | (dolist (c (list ?a ?b ?α ?β)) |
| 1082 | (should-not (char-uppercase-p c)))) | 1082 | (should-not (char-uppercase-p c)))) |
| 1083 | 1083 | ||
| 1084 | (ert-deftest test-plistp () | ||
| 1085 | (should (plistp nil)) | ||
| 1086 | (should-not (plistp 1)) | ||
| 1087 | (should (plistp '(1 2))) | ||
| 1088 | (should-not (plistp '(1 . 2))) | ||
| 1089 | (should (plistp '(1 2 3 4))) | ||
| 1090 | (should-not (plistp '(1 2 3))) | ||
| 1091 | (should-not (plistp '(1 2 3 . 4)))) | ||
| 1092 | |||
| 1084 | (provide 'subr-tests) | 1093 | (provide 'subr-tests) |
| 1085 | ;;; subr-tests.el ends here | 1094 | ;;; subr-tests.el ends here |