diff options
author | Taylor R Campbell <campbell@mumble.net> | 2011-03-23 03:50:54 +0000 |
---|---|---|
committer | Taylor R Campbell <campbell@mumble.net> | 2011-03-23 03:50:54 +0000 |
commit | 33f9c67177dc129a050e7ec1e8f3d98e7469e1e3 (patch) | |
tree | 54bbf0746ffdce11ef3ca6743a32dbfc5dd7c193 | |
parent | c91bc2f64caf3a1b9862db6f854a1620452a7f5c (diff) |
Use `error', not `message', to report test failures in test.el.
Ignore-this: 11bf127fc1f87a03e4d00da450a01404
darcs-hash:20110323035054-00fcc-3a0c5901af5290c3bd4758296497f01fffc2945c
-rw-r--r-- | test.el | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. |