Skip to content

Commit

Permalink
fix sigil escape warning when running tests on Elixir 1.17
Browse files Browse the repository at this point in the history
  • Loading branch information
SteffenDE committed Mar 8, 2024
1 parent 0f9cc64 commit 7554302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/phoenix_component/components_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ defmodule Phoenix.LiveView.ComponentsTest do
assert t2h(
~H|<.link href="/users" method="post" csrf_token="123" data-confirm="are you sure?">delete</.link>|
) ==
~X"<a href=\"/users\" data-method=\"post\" data-csrf=\"123\" data-to=\"/users\" data-confirm=\"are you sure?\">delete</a>"
~X|<a href="/users" data-method="post" data-csrf="123" data-to="/users" data-confirm="are you sure?">delete</a>|
end

test "js schemes" do
Expand Down

0 comments on commit 7554302

Please sign in to comment.