Skip to content

Instantly share code, notes, and snippets.

@mattdeboard
Created June 21, 2014 22:34
Show Gist options
  • Select an option

  • Save mattdeboard/cc15ad751c13067f2129 to your computer and use it in GitHub Desktop.

Select an option

Save mattdeboard/cc15ad751c13067f2129 to your computer and use it in GitHub Desktop.
Buffer: *Test buffer (elixir-ert-indents-use-dot-module-newline): (Expected)*<2>
Buffer: *Test buffer (elixir-ert-indents-use-dot-module-newline): (Actual)*<2>
(ert-test-failed
((should
(equal indented "\ndefmodule Foo do\n use GenServer.Behaviour\n\n def foobar do\n if true, do: IO.puts \"yay\"\n end\nend"))
:form
(equal "\ndefmodule Foo do\n use GenServer.Behaviour\n\n def foobar do\n if true, do: IO.puts \"yay\"\n end\nend" "\ndefmodule Foo do\n use GenServer.Behaviour\n\n def foobar do\n if true, do: IO.puts \"yay\"\n end\nend")
:value nil :explanation
(arrays-of-different-length 143 101 "\ndefmodule Foo do\n use GenServer.Behaviour\n\n def foobar do\n if true, do: IO.puts \"yay\"\n end\nend" "\ndefmodule Foo do\n use GenServer.Behaviour\n\n def foobar do\n if true, do: IO.puts \"yay\"\n end\nend" first-mismatch-at 47)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment