aboutsummaryrefslogtreecommitdiff
path: root/test/mastodon-tl-tests.el
diff options
context:
space:
mode:
authorJohnson Denen <johnson.denen@gmail.com>2018-08-09 23:31:37 -0400
committerJohnson Denen <johnson.denen@gmail.com>2018-08-10 22:20:04 -0400
commitbb20dfd108f12f8b43bbd5081b8d5447569e5834 (patch)
tree96c3e559c4a06f4b9dd7b001d8e52cc9675f7546 /test/mastodon-tl-tests.el
parent40f32fb82a29d3f057e195305a7d416241f2fc53 (diff)
Clean up whitespace
Diffstat (limited to 'test/mastodon-tl-tests.el')
-rw-r--r--test/mastodon-tl-tests.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/mastodon-tl-tests.el b/test/mastodon-tl-tests.el
index f7c6091..851dc39 100644
--- a/test/mastodon-tl-tests.el
+++ b/test/mastodon-tl-tests.el
@@ -142,7 +142,7 @@ a string or a numeric."
"Should request toots more recent than since_id.
`mastodon-tl--updated-json' should accept and id that is either
-a string or a numeric."
+a string or a numeric."
(let ((mastodon-instance-url "https://instance.url"))
(with-mock
(mock (mastodon-http--get-json "https://instance.url/api/v1/timelines/foo?since_id=12345"))
@@ -775,7 +775,7 @@ constant."
(with-temp-buffer
(cl-dotimes (n 12) (insert-timestamp (+ n 2)))
(setq markers (nreverse markers))
-
+
(with-mock
(mock (current-time) => now)
(stub run-at-time => 'fake-timer)
@@ -856,13 +856,13 @@ constant."
(should (eq t (get-text-property body-position 'invisible)))
;; Click the link:
- (mastodon-tl--do-link-action-at-point (car link-region))
+ (mastodon-tl--do-link-action-at-point (car link-region))
;; The body is now visible:
(should (eq nil (get-text-property body-position 'invisible)))
;; Click the link once more:
- (mastodon-tl--do-link-action-at-point (car link-region))
+ (mastodon-tl--do-link-action-at-point (car link-region))
;; The body is invisible again:
(should (eq t (get-text-property body-position 'invisible)))
@@ -873,7 +873,7 @@ constant."
(mastodon-tl--toggle-spoiler-text-in-toot)
(should (eq nil (get-text-property body-position 'invisible)))
(should (eq toot-start (point)))
-
+
;; Go to the toot's end
(goto-char toot-end)
;; Press 'c' and the body is invisible again and point hasn't changed: