diff options
| -rw-r--r-- | test/lisp/emacs-lisp/oclosure-tests.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lisp/emacs-lisp/oclosure-tests.el b/test/lisp/emacs-lisp/oclosure-tests.el index 4760f403158..14c205631e0 100644 --- a/test/lisp/emacs-lisp/oclosure-tests.el +++ b/test/lisp/emacs-lisp/oclosure-tests.el | |||
| @@ -32,7 +32,7 @@ | |||
| 32 | 32 | ||
| 33 | (cl-defmethod oclosure-test-gen ((_x compiled-function)) "#<bytecode>") | 33 | (cl-defmethod oclosure-test-gen ((_x compiled-function)) "#<bytecode>") |
| 34 | 34 | ||
| 35 | (cl-defmethod oclosure-test-gen ((_x cons)) "#<cons>") | 35 | (cl-defmethod oclosure-test-gen ((_x interpreted-function)) "#<interpreted-function>") |
| 36 | 36 | ||
| 37 | (cl-defmethod oclosure-test-gen ((_x oclosure)) | 37 | (cl-defmethod oclosure-test-gen ((_x oclosure)) |
| 38 | (format "#<oclosure:%s>" (cl-call-next-method))) | 38 | (format "#<oclosure:%s>" (cl-call-next-method))) |
| @@ -63,7 +63,7 @@ | |||
| 63 | (should (cl-typep ocl1 'oclosure-test)) | 63 | (should (cl-typep ocl1 'oclosure-test)) |
| 64 | (should (cl-typep ocl1 'oclosure)) | 64 | (should (cl-typep ocl1 'oclosure)) |
| 65 | (should (member (oclosure-test-gen ocl1) | 65 | (should (member (oclosure-test-gen ocl1) |
| 66 | '("#<oclosure-test:#<oclosure:#<cons>>>" | 66 | '("#<oclosure-test:#<oclosure:#<interpreted-function>>>" |
| 67 | "#<oclosure-test:#<oclosure:#<bytecode>>>"))) | 67 | "#<oclosure-test:#<oclosure:#<bytecode>>>"))) |
| 68 | (should (stringp (documentation #'oclosure-test--fst))) | 68 | (should (stringp (documentation #'oclosure-test--fst))) |
| 69 | )) | 69 | )) |