diff options
author | Gemini Lasswell <gazally@runbox.com> | 2017-09-26 08:14:23 -0700 |
---|---|---|
committer | Gemini Lasswell <gazally@runbox.com> | 2017-10-08 16:13:39 -0700 |
commit | 3c2e8eff8cc9a4a535f473b3e150cb056d8f891d (patch) | |
tree | 730be0a589aa785ebcbb48886d7d2c62afa77843 /test/lisp/emacs-lisp/cl-print-tests.el | |
parent | d79cf638f278e50c22feb53d6ba556f5ce9d7853 (diff) | |
download | emacs-3c2e8eff8cc9a4a535f473b3e150cb056d8f891d.tar.gz emacs-3c2e8eff8cc9a4a535f473b3e150cb056d8f891d.tar.bz2 emacs-3c2e8eff8cc9a4a535f473b3e150cb056d8f891d.zip |
Stop Testcover from producing spurious 1value errors
Fix bug#25351 by copying results of form evaluations for later
comparison.
* lisp/emacs-lisp/testcover.el (testcover-after): Copy the result
of a form's first evaluation and compare subsequent evaluations to
the copy. Improve the error message used when a form's value
changes.
(testcover--copy-object, testcover--copy-object1): New functions.
* test/lisp/emacs-lisp/testcover-resources/testcases.el
(by-value-vs-by-reference-bug-25351): Remove expected failure tag.
(circular-lists-bug-24402): Add another circular list case.
Diffstat (limited to 'test/lisp/emacs-lisp/cl-print-tests.el')
0 files changed, 0 insertions, 0 deletions