Skip to content

Commit

Permalink
we good?
Browse files Browse the repository at this point in the history
  • Loading branch information
novaugust committed Apr 4, 2024
1 parent 8e1e634 commit 525d3fd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion lib/style/configs.ex
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ defmodule Styler.Style.Configs do
|> Enum.reverse()
end)
|> Style.fix_line_numbers(List.first(rest))
|> dbg()

assignments = assignments |> Enum.reverse() |> Style.reset_newlines()

Expand Down
7 changes: 1 addition & 6 deletions test/style/configs_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ defmodule Styler.Style.ConfigsTest do
)
end

test "ignores things that look like config/2,3" do
test "ignores things that look like config/1" do
assert_style """
import Config
Expand All @@ -132,9 +132,4 @@ defmodule Styler.Style.ConfigsTest do
config :c, :d
"""
end

test "non config / assignment calls create new stanzas"
test "non-configs"

test "comments :/"
end

0 comments on commit 525d3fd

Please sign in to comment.