emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/paredit 33f9c67 100/224: Use `error', not `message', to re


From: ELPA Syncer
Subject: [nongnu] elpa/paredit 33f9c67 100/224: Use `error', not `message', to report test failures in test.el.
Date: Sat, 7 Aug 2021 09:22:28 -0400 (EDT)

branch: elpa/paredit
commit 33f9c67177dc129a050e7ec1e8f3d98e7469e1e3
Author: Taylor R Campbell <campbell@mumble.net>
Commit: Taylor R Campbell <campbell@mumble.net>

    Use `error', not `message', to report test failures in test.el.
    
    Ignore-this: 11bf127fc1f87a03e4d00da450a01404
    
    darcs-hash:20110323035054-00fcc-3a0c5901af5290c3bd4758296497f01fffc2945c
---
 test.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test.el b/test.el
index 2fba7c0..616bf5c 100644
--- a/test.el
+++ b/test.el
@@ -20,8 +20,8 @@
 ;; along with paredit.  If not, see <http://www.gnu.org/licenses/>.
 
 (defun paredit-test-failure-default (command before after expected)
-  (message "%S failed test: after %S, got %S but expected %S."
-           command before after expected))
+  (error "%S failed test: after %S, got %S but expected %S."
+         command before after expected))
 
 (defvar paredit-test-failure-function 'paredit-test-failure-default
   "Function to call when `paredit-test' fails.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]