diff options
Diffstat (limited to 'test/src')
| -rw-r--r-- | test/src/comp-test-funcs.el | 6 | ||||
| -rw-r--r-- | test/src/comp-tests.el | 7 |
2 files changed, 12 insertions, 1 deletions
diff --git a/test/src/comp-test-funcs.el b/test/src/comp-test-funcs.el index 878db70609d..f2a246320ac 100644 --- a/test/src/comp-test-funcs.el +++ b/test/src/comp-test-funcs.el | |||
| @@ -508,6 +508,12 @@ | |||
| 508 | (defun comp-test-47868-2-f () | 508 | (defun comp-test-47868-2-f () |
| 509 | #(" " 0 1 (face font-lock-keyword-face))) | 509 | #(" " 0 1 (face font-lock-keyword-face))) |
| 510 | 510 | ||
| 511 | (defun comp-test-47868-3-f () | ||
| 512 | " ") | ||
| 513 | |||
| 514 | (defun comp-test-47868-4-f () | ||
| 515 | #(" " 0 1 (face font-lock-keyword-face))) | ||
| 516 | |||
| 511 | 517 | ||
| 512 | 518 | ||
| 513 | ;;;;;;;;;;;;;;;;;;;; | 519 | ;;;;;;;;;;;;;;;;;;;; |
diff --git a/test/src/comp-tests.el b/test/src/comp-tests.el index cb9032aa410..a1e91ec5141 100644 --- a/test/src/comp-tests.el +++ b/test/src/comp-tests.el | |||
| @@ -508,8 +508,13 @@ https://lists.gnu.org/archive/html/bug-gnu-emacs/2020-03/msg00914.html." | |||
| 508 | (should (equal (comp-test-46824-1-f) nil))) | 508 | (should (equal (comp-test-46824-1-f) nil))) |
| 509 | 509 | ||
| 510 | (comp-deftest comp-test-47868-1 () | 510 | (comp-deftest comp-test-47868-1 () |
| 511 | "Verify string hash consing strategy. | ||
| 512 | |||
| 513 | <https://lists.gnu.org/archive/html/bug-gnu-emacs/2021-04/msg00921.html>" | ||
| 511 | (should-not (equal-including-properties (comp-test-47868-1-f) | 514 | (should-not (equal-including-properties (comp-test-47868-1-f) |
| 512 | (comp-test-47868-2-f)))) | 515 | (comp-test-47868-2-f))) |
| 516 | (should (eq (comp-test-47868-1-f) (comp-test-47868-3-f))) | ||
| 517 | (should (eq (comp-test-47868-2-f) (comp-test-47868-4-f)))) | ||
| 513 | 518 | ||
| 514 | 519 | ||
| 515 | ;;;;;;;;;;;;;;;;;;;;; | 520 | ;;;;;;;;;;;;;;;;;;;;; |