Skip to content

Commit

Permalink
chore: remove example code from test
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Jun 1, 2024
1 parent 15bd766 commit f1f6fa6
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions test/config_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -123,22 +123,3 @@ defmodule Igniter.ConfigTest do
end
end
end

defmodule Mix.Tasks.LiveViewNative.Install do
use Igniter.Mix.Task

def igniter(igniter, argv) do
Igniter.new()
|> Igniter.Config.configure("fake.exs", :fake, [:foo], %{"b" => ["c", "d"]}, fn zipper ->
Igniter.Common.set_map_key(zipper, "b", ["c", "d"], fn zipper ->
zipper
|> Igniter.Common.prepend_new_to_list(zipper, "c")
|> Igniter.Common.prepend_new_to_list(zipper, "d")
end)
|> case do
{:ok, new_zipper} -> new_zipper
_ -> zipper
end
end)
end
end

0 comments on commit f1f6fa6

Please sign in to comment.