diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-10-13 22:05:55 +0200 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-10-13 22:05:55 +0200 |
commit | a623a6dc667d018729befa298c1144dff0f2769f (patch) | |
tree | 6dbb6812a3e14e9f7949dd17e52675544cd5bc74 /test/mastodon-tl-tests.el | |
parent | d7ef5b9512e281befda374c82c89977896b407c3 (diff) |
fix reporting rules tests
Diffstat (limited to 'test/mastodon-tl-tests.el')
-rw-r--r-- | test/mastodon-tl-tests.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/mastodon-tl-tests.el b/test/mastodon-tl-tests.el index e029ba7..d6940d4 100644 --- a/test/mastodon-tl-tests.el +++ b/test/mastodon-tl-tests.el @@ -1218,9 +1218,9 @@ correct value for following, as well as notifications enabled or disabled." "Should return a list of string numbers based on `mastodon-tl--test-instance-rules'" (let ((crm-separator "[ ]*,[ ]*")) (with-mock - (stub mastodon-tl--instance-rules => mastodon-tl--test-instance-rules) - (stub completing-read-multiple => '("We do not accept homophobia." - "We do not accept harassment." - "We also do not accept hate speech.")) - (should (equal '("2" "5" "6") - (mastodon-tl--read-rules-ids)))))) + (stub mastodon-tl--instance-rules => mastodon-tl--test-instance-rules) + (stub completing-read-multiple => '("We do not accept homophobia." + "We do not accept harassment." + "We also do not accept hate speech.")) + (should (equal '("2" "5" "6") + (mastodon-tl--read-rules-ids)))))) |