diff options
Diffstat (limited to 'test/src')
| -rw-r--r-- | test/src/lread-tests.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/src/lread-tests.el b/test/src/lread-tests.el index 98cbb6a301d..a0a317feeeb 100644 --- a/test/src/lread-tests.el +++ b/test/src/lread-tests.el | |||
| @@ -164,4 +164,10 @@ literals (Bug#20852)." | |||
| 164 | (concat (format-message "Loading `%s': " file-name) | 164 | (concat (format-message "Loading `%s': " file-name) |
| 165 | "old-style backquotes detected!"))))) | 165 | "old-style backquotes detected!"))))) |
| 166 | 166 | ||
| 167 | (ert-deftest lread-lread--substitute-object-in-subtree () | ||
| 168 | (let ((x (cons 0 1))) | ||
| 169 | (setcar x x) | ||
| 170 | (lread--substitute-object-in-subtree x 1 t) | ||
| 171 | (should (eq x (cdr x))))) | ||
| 172 | |||
| 167 | ;;; lread-tests.el ends here | 173 | ;;; lread-tests.el ends here |