From 33f9c67177dc129a050e7ec1e8f3d98e7469e1e3 Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Wed, 23 Mar 2011 03:50:54 +0000 Subject: 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(-) (limited to 'test.el') 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 . (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. -- cgit v1.2.1