branch: elpa/paredit
commit 33f9c67177dc129a050e7ec1e8f3d98e7469e1e3
Author: Taylor R Campbell <[email protected]>
Commit: Taylor R Campbell <[email protected]>
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.