[erlang-bugs] eunit:test/2 return value

Leo Liu sdl.web@REDACTED
Thu Aug 6 02:19:02 CEST 2015


I have noticed the return value may be `error' instead of `{error,
Rsn}'. Is it a documentation error?

Here is an example:

-include_lib("eunit/include/eunit.hrl").

basic_test_() ->
    [?_assert(1 + 1 =:= 3)].

Leo



More information about the erlang-bugs mailing list