From 0667705b773162f86ae4ddc6ceef200219e1d984 Mon Sep 17 00:00:00 2001 From: Lain Soykaf Date: Tue, 3 Nov 2026 22:29:49 +0400 Subject: [PATCH] test: use sigils for HTML strings in quote link tests --- test/pleroma/html_test.exs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/pleroma/html_test.exs b/test/pleroma/html_test.exs index 2bb918556..b8b694db2 100644 --- a/test/pleroma/html_test.exs +++ b/test/pleroma/html_test.exs @@ -343,8 +343,8 @@ defmodule Pleroma.HTMLTest do data: %{ "quoteUrl" => "https://raru.re/users/ocean/statuses/116235427788617987", "content" => - "

RE: raru.re/@ocean/116235427788617987

" <> - "

Berapa lapis?

youtube.com/watch?v=S0dJMhWDRDE

" + ~s(

RE: raru.re/@ocean/116235427788617987

) <> + ~s(

Berapa lapis?

youtube.com/watch?v=S0dJMhWDRDE

) } } @@ -356,7 +356,7 @@ defmodule Pleroma.HTMLTest do object = %Object{ data: %{ "content" => - "hello

RE: https://misskey.example/notes/abc
" + ~s(hello

RE: https://misskey.example/notes/abc
) } } @@ -368,7 +368,7 @@ defmodule Pleroma.HTMLTest do data: %{ "quoteUrl" => "https://remote.example/objects/1", "content" => - "RE: https://remote.example/objects/1 cofe" + ~s(RE: https://remote.example/objects/1 cofe) } }