diff options
Diffstat (limited to 'src/rebar_eunit.erl')
-rw-r--r-- | src/rebar_eunit.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar_eunit.erl b/src/rebar_eunit.erl index 67559ca..2dd02a7 100644 --- a/src/rebar_eunit.erl +++ b/src/rebar_eunit.erl @@ -284,7 +284,8 @@ has_header(Mod, Header) -> cover_compiled -> {file, File} = cover:is_compiled(Mod), File; - undefined -> Mod; + non_existing -> Mod; + preloaded -> Mod; L -> L end, {ok, {_, [{abstract_code, {_, AC}}]}} = beam_lib:chunks(Mod1, [abstract_code]), |