Skip to content

Commit

Permalink
Failing test for defined function indentation with when
Browse files Browse the repository at this point in the history
  • Loading branch information
kcdragon committed Feb 12, 2017
1 parent 384d8da commit 68ad9bb
Showing 1 changed file with 13 additions and 0 deletions.
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

0 comments on commit 68ad9bb

Please sign in to comment.