Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Failing test for defined function indentation with when #392

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions test/elixir-mode-indentation-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,19 @@ def str(s, sub, start_pos, end_pos) when is_binary(s) and is_binary(sub) do # an
end
")

(elixir-def-indentation-test indent-continuation-lines-when-without-parens
(:tags '(indentation))
"
def foo(x) when x + 1 > 2 do
[]
end
"
"
def foo(x) when x + 1 > 2 do
[]
end
")

(elixir-def-indentation-test indent-continuation-lines-assignment
(:tags '(indentation))
"
Expand Down