aboutsummaryrefslogtreecommitdiff
path: root/test/mastodon-toot-tests.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2023-10-28 11:36:58 +0200
committermarty hiatt <martianhiatus@riseup.net>2023-10-28 11:39:25 +0200
commitb8d0c9b967fbc1e38e4012ad357a7f29c621acc1 (patch)
treeab3f5f4f697b6d3d5f330d2e33aa8fa118ac7778 /test/mastodon-toot-tests.el
parent5f237982e53f0804f03f88d20eecab864ab575d3 (diff)
triage: call cb on response. do-user-action-fun: check response data
this means the triage callback always needs to handle 1 arg.
Diffstat (limited to 'test/mastodon-toot-tests.el')
-rw-r--r--test/mastodon-toot-tests.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mastodon-toot-tests.el b/test/mastodon-toot-tests.el
index 5efe2e1..6133453 100644
--- a/test/mastodon-toot-tests.el
+++ b/test/mastodon-toot-tests.el
@@ -180,7 +180,7 @@ mention string."
=> "https://example.space/statuses/61208/pin")
(mock (mastodon-http--post "https://example.space/statuses/61208/pin")
=> pin-response)
- (should (equal (mastodon-toot--action "pin" (lambda ()
+ (should (equal (mastodon-toot--action "pin" (lambda (_)
(message "Toot pinned!")))
"Toot pinned!"))))))