summaryrefslogtreecommitdiff
path: root/test/web/twitter_api/twitter_api_test.exs
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-05-18 16:41:16 +0200
committerRoger Braun <roger@rogerbraun.net>2017-05-18 16:41:16 +0200
commit48f9df2391557db6a9f9dae37b9d39d6cd5f612a (patch)
tree9902628481c930e48b003b280516c0bf28260152 /test/web/twitter_api/twitter_api_test.exs
parenta92a9dce94d2a2502750a4a258560283c21e2777 (diff)
downloadpleroma-48f9df2391557db6a9f9dae37b9d39d6cd5f612a.tar.gz
pleroma-48f9df2391557db6a9f9dae37b9d39d6cd5f612a.zip
Keep newlines around.
Diffstat (limited to 'test/web/twitter_api/twitter_api_test.exs')
-rw-r--r--test/web/twitter_api/twitter_api_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/twitter_api/twitter_api_test.exs b/test/web/twitter_api/twitter_api_test.exs
index 3b6a7a1fe..4df1aba9e 100644
--- a/test/web/twitter_api/twitter_api_test.exs
+++ b/test/web/twitter_api/twitter_api_test.exs
@@ -34,7 +34,7 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPITest do
{ :ok, activity = %Activity{} } = TwitterAPI.create_status(user, input)
- assert get_in(activity.data, ["object", "content"]) == "Hello again, <a href='shp'>@shp</a>.<br>This is on another line. #2hu #epic #phantasmagoric<br><a href='http://example.org/image.jpg' class='attachment'>image.jpg</a>"
+ assert get_in(activity.data, ["object", "content"]) == "Hello again, <a href='shp'>@shp</a>.<br>\nThis is on another line. #2hu #epic #phantasmagoric<br>\n<a href='http://example.org/image.jpg' class='attachment'>image.jpg</a>"
assert get_in(activity.data, ["object", "type"]) == "Note"
assert get_in(activity.data, ["object", "actor"]) == user.ap_id
assert get_in(activity.data, ["actor"]) == user.ap_id