Skip to content

Commit

Permalink
Fix regression in liveview tests with newer phoenix_html (#2456)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxvw authored and josevalim committed Feb 16, 2023
1 parent 96ebd7a commit d46b989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/phoenix_live_view/test/dom.ex
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ defmodule Phoenix.LiveViewTest.DOM do
static = if static in [nil, ""], do: nil, else: static
found = {id, session, static}

if main == "true" do
if main not in [nil, "", "false"] do
acc ++ [found]
else
[found | acc]
Expand Down

0 comments on commit d46b989

Please sign in to comment.