Skip to content

Commit

Permalink
failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
novaugust committed Apr 5, 2024
1 parent 0700785 commit 6455f93
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions test/style/module_directives/alias_lifting_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,22 @@ defmodule Styler.Style.ModuleDirectives.AliasLiftingTest do
"""
end

test "deep nesting of an alias" do

Check failure on line 138 in test/style/module_directives/alias_lifting_test.exs

View workflow job for this annotation

GitHub Actions / Ex1.15.7/OTP25.1.2

test deep nesting of an alias (Styler.Style.ModuleDirectives.AliasLiftingTest)

Check failure on line 138 in test/style/module_directives/alias_lifting_test.exs

View workflow job for this annotation

GitHub Actions / Ex1.16.0/OTP25.1.2

test deep nesting of an alias (Styler.Style.ModuleDirectives.AliasLiftingTest)
assert_style("""
alias Foo.Bar.Baz
Baz.Bop.Boom.wee()
Baz.Bop.Boom.wee()
""", """
alias Foo.Bar.Baz
alias Foo.Bar.Baz.Bop.Boom
Boom.wee()
Boom.wee()
""")
end

describe "comments stay put" do
test "comments before alias stanza" do
assert_style(
Expand Down

0 comments on commit 6455f93

Please sign in to comment.