Hi
I’ve recently faced a problem with doc tests on html documents:
Here is my code and docs:
@doc """
Does something good!
## Examples
iex> Module.do_something
{:ok, 123}
iex> Module.do_something
:error
"""
def do_something() do
...
end
In the documents the output will be like:
Examples
iex> Module.do_something
iex> Module.do_something :error
As you can see the tuple in the first example is missing in the docs. Am i doing something wrong?