Hello,

While debugging some doctests I haven't written initially myself, I 
realised that one can create doctests that are bogus and will be skipped 
quite easily, just like this:

## Examples
iex > SomeModule.some_method("param")
"expected_output"

The culprit is the extra space between "iex" and ">", which prevents the 
test from being executed (and the developer is not aware of that at all!).

I wonder if some form of protection against that could be made, either in 
Elixir or in Credo maybe?

Not a huge issue, but it could result in some head-banging for some :-)

-- Thibaut

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elixir-lang-core+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/bf7c0071-5540-409c-8e63-bdcf31fca68bn%40googlegroups.com.

Reply via email to