Update test

This commit is contained in:
Mitchell Hanberg 2020-11-04 20:21:32 -05:00
parent aa9a7dd578
commit 396978b36c

View file

@ -154,17 +154,17 @@ defmodule TempleTest do
test "renders a case expression as eex" do test "renders a case expression as eex" do
result = result =
temple do temple do
case @foo.bar do case @foo do
:baz -> :baz ->
weight_form(form: @form) some_component(form: @form)
end end
end end
expected = expected =
~S""" ~S"""
<%= case(@foo.bar) do %> <%= case(@foo) do %>
<% :baz -> %> <% :baz -> %>
<%= weight_form(form: @form) %> <%= some_component(form: @form) %>
<% end %> <% end %>
""" """
|> String.trim() |> String.trim()