Skip to content

Commit

Permalink
Merge pull request #127 from Scramblejams/master
Browse files Browse the repository at this point in the history
Add failing test for comment in cond expression (fixed)
  • Loading branch information
mattdeboard committed Oct 4, 2014
2 parents 18ecfe3 + 56dc2b1 commit 272e937
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions test/elixir-mode-indentation-test.el
Expand Up @@ -497,6 +497,29 @@ end"
end
end")

(elixir-def-indentation-test cond-comment
(:expected-result :failed)
"
def foo() do
cond do
yadda ->
:ok
badda -> # comment throws this off
:what
end
end
"
"
def foo() do
cond do
yadda ->
:ok
badda -> # comment throws this off
:what
end
end
")

(elixir-def-indentation-test indent-heredoc
(:expected-result :failed)
"
Expand Down

0 comments on commit 272e937

Please sign in to comment.