Do not emit warnings when formatting code

Closes #11595.
This commit is contained in:
José Valim
2022-01-26 13:37:53 +01:00
parent dbbdf95737
commit bee0bb56be
9 changed files with 58 additions and 65 deletions
@@ -7,6 +7,10 @@ defmodule Code.Formatter.GeneralTest do
@short_length [line_length: 10]
test "does not emit warnings" do
assert_format "fn -> end", "fn -> nil end"
end
describe "aliases" do
test "with atom-only parts" do
assert_same "Elixir"