Skip to content

Commit fc9d4d8

Browse files
committed
fix require warning in test
1 parent 82eca6c commit fc9d4d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/phoenix_component/macro_component_integration_test.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
defmodule Phoenix.Component.MacroComponentIntegrationTest do
22
use ExUnit.Case, async: true
33

4+
use Phoenix.Component
5+
46
import Phoenix.LiveViewTest
57
import Phoenix.LiveViewTest.TreeDOM, only: [sigil_X: 2]
68

@@ -345,8 +347,6 @@ defmodule Phoenix.Component.MacroComponentIntegrationTest do
345347
end
346348

347349
defp eval_heex(source) do
348-
require Phoenix.Component
349-
350350
EEx.compile_string(source,
351351
engine: Phoenix.LiveView.TagEngine,
352352
line: 1,

0 commit comments

Comments
 (0)