I believe doctests support either valid Elixir syntax as output or opaque data structures that start with #
- that’s also the general convention of inspect - either return valid Elixir syntax or a data structure matching the pattern of #Name<Data>
.
2 Likes