diff --git a/test/elixir-mode-indentation-test.el b/test/elixir-mode-indentation-test.el index f51b1965..c30695f8 100644 --- a/test/elixir-mode-indentation-test.el +++ b/test/elixir-mode-indentation-test.el @@ -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) "