diff options
| -rw-r--r-- | test/lisp/subr-tests.el | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/test/lisp/subr-tests.el b/test/lisp/subr-tests.el index f5c1c40263e..84f3e41148d 100644 --- a/test/lisp/subr-tests.el +++ b/test/lisp/subr-tests.el | |||
| @@ -1026,7 +1026,16 @@ final or penultimate step during initialization.")) | |||
| 1026 | 1026 | ||
| 1027 | (ert-deftest test-readablep () | 1027 | (ert-deftest test-readablep () |
| 1028 | (should (readablep "foo")) | 1028 | (should (readablep "foo")) |
| 1029 | (should-not (readablep (list (make-marker))))) | 1029 | (should-not (readablep (list (make-marker)))) |
| 1030 | (should-not (readablep (make-marker)))) | ||
| 1031 | |||
| 1032 | (ert-deftest test-print-unreadable-function () | ||
| 1033 | :expected-result :failed | ||
| 1034 | ;; Check that problem with unwinding properly is fixed (bug#56773). | ||
| 1035 | (with-temp-buffer | ||
| 1036 | (let ((buf (current-buffer))) | ||
| 1037 | (readablep (make-marker)) | ||
| 1038 | (should (eq buf (current-buffer)))))) | ||
| 1030 | 1039 | ||
| 1031 | (ert-deftest test-string-lines () | 1040 | (ert-deftest test-string-lines () |
| 1032 | (should (equal (string-lines "") '(""))) | 1041 | (should (equal (string-lines "") '(""))) |