Skip to content

Commit

Permalink
Merge pull request #360 from gausby/add-tests-for-maps-with-strings-a…
Browse files Browse the repository at this point in the history
…s-keys

Added a failing test for indenting maps with sting as keys
  • Loading branch information
tonini committed May 29, 2016
2 parents f70dc95 + a33eb58 commit 2865589
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions test/elixir-mode-indentation-test.el
Expand Up @@ -1511,6 +1511,23 @@ defmodule Foo do
end
end")

(elixir-def-indentation-test indent-maps-with-stings-as-keys
(:expected-result :failed :tags '(indentation))
"%{
\"data\" => %{
\"foo\" => %{
\"bar\" => nil
}
}
}"
"%{
\"data\" => %{
\"foo\" => %{
\"bar\" => nil
}
}
}")

(elixir-def-indentation-test indent-maps-and-structs-elements
(:tags '(indentation))
"
Expand Down

0 comments on commit 2865589

Please sign in to comment.