[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 2539039335: Move a test from subr-tests to print-tests
From: |
Lars Ingebrigtsen |
Subject: |
master 2539039335: Move a test from subr-tests to print-tests |
Date: |
Sat, 30 Jul 2022 06:45:53 -0400 (EDT) |
branch: master
commit 2539039335709ccf64f4792882a0e74a0715f1fa
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Move a test from subr-tests to print-tests
---
test/lisp/subr-tests.el | 10 ----------
test/src/print-tests.el | 10 ++++++++++
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/test/lisp/subr-tests.el b/test/lisp/subr-tests.el
index be613ce759..08f08f0466 100644
--- a/test/lisp/subr-tests.el
+++ b/test/lisp/subr-tests.el
@@ -1126,15 +1126,5 @@ final or penultimate step during initialization."))
(should (equal (butlast l n)
(subr-tests--butlast-ref l n))))))
-(ert-deftest test-print-unreadable-function-buffer ()
- (with-temp-buffer
- (let ((current (current-buffer))
- callback-buffer)
- (let ((print-unreadable-function
- (lambda (_object _escape)
- (setq callback-buffer (current-buffer)))))
- (prin1-to-string (make-marker)))
- (should (eq current callback-buffer)))))
-
(provide 'subr-tests)
;;; subr-tests.el ends here
diff --git a/test/src/print-tests.el b/test/src/print-tests.el
index 91187d9f45..37ee21af6b 100644
--- a/test/src/print-tests.el
+++ b/test/src/print-tests.el
@@ -529,5 +529,15 @@ otherwise, use a different charset."
(should (equal (% (- (length numbers) loopback-index) loop)
0)))))))))))
+(ert-deftest test-print-unreadable-function-buffer ()
+ (with-temp-buffer
+ (let ((current (current-buffer))
+ callback-buffer)
+ (let ((print-unreadable-function
+ (lambda (_object _escape)
+ (setq callback-buffer (current-buffer)))))
+ (prin1-to-string (make-marker)))
+ (should (eq current callback-buffer)))))
+
(provide 'print-tests)
;;; print-tests.el ends here
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 2539039335: Move a test from subr-tests to print-tests,
Lars Ingebrigtsen <=