summaryrefslogtreecommitdiff
path: root/test.el
diff options
context:
space:
mode:
authorTaylor R Campbell <campbell@paredit.org>2024-11-03 21:15:44 +0000
committerTaylor R Campbell <campbell@paredit.org>2024-11-03 21:15:44 +0000
commit659b4eddf2edf2a7febabc7cb426a7246ced09b7 (patch)
tree9cab8633d2576d6f9aa6f3b6256fd477e070bfb7 /test.el
parentf5a04df896c10ad281c208ebf699850660626f75 (diff)
test.el: Use paredit-warn, not warn.
Diffstat (limited to 'test.el')
-rw-r--r--test.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/test.el b/test.el
index f4ca54b..ce391cf 100644
--- a/test.el
+++ b/test.el
@@ -24,8 +24,8 @@
(defun paredit-test-failure-default (command before after expected)
(setq paredit-test-nfailures (+ 1 paredit-test-nfailures))
- (warn "%S failed test: after %S, got %S but expected %S."
- command before after expected))
+ (paredit-warn "%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.