branch: elpa/mastodon
commit ecf90b887ecfc12fb56e8aade1e4b68bc88b488b
Author: Xiyue Deng <manp...@gmail.com>
Commit: Xiyue Deng <manp...@gmail.com>

    Fix test text changed in 2.0
---
 test/mastodon-media-tests.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/mastodon-media-tests.el b/test/mastodon-media-tests.el
index 5633ca346b..600ef5c1ba 100644
--- a/test/mastodon-media-tests.el
+++ b/test/mastodon-media-tests.el
@@ -39,7 +39,7 @@
      (should (string= "http://example.org/remote/img.png"; (plist-get 
properties 'image-url)))
      (should (eq mastodon-tl--shr-image-map-replacement (plist-get properties 
'keymap)))
      (should (string= "image" (plist-get properties 'mastodon-media-type)))
-     (should (string= "RET/i: load full image (prefix: copy URL), +/-: zoom, 
r: rotate, o: save preview, S: toggle sensitive media"
+     (should (string= "RET: load full image or play video, i for image 
options, S: toggle sensitive media"
                       (plist-get properties 'help-echo))))))
 
 (ert-deftest mastodon-media:get-media-link-rendering-gif ()
@@ -63,7 +63,7 @@
      (should (string= "http://example.org/remote/img.png"; (plist-get 
properties 'image-url)))
      (should (eq mastodon-tl--shr-image-map-replacement (plist-get properties 
'keymap)))
      (should (string= "gifv" (plist-get properties 'mastodon-media-type)))
-     (should (string= "RET/i: load full image (prefix: copy URL), +/-: zoom, 
r: rotate, o: save preview, S: toggle sensitive media\nC-RET: play gifv with 
mpv"
+     (should (string= "RET: load full image or play video, i for image 
options, S: toggle sensitive media\nC-RET: play gifv with mpv"
                  (plist-get properties 'help-echo))))))
 
 (ert-deftest mastodon-media--load-image-from-url-avatar-with-imagemagic ()

Reply via email to