ci(xref): handle no_such_module
This commit is contained in:
parent
fef088220c
commit
9dd5e26ddf
|
@ -25,8 +25,9 @@ main(_) ->
|
|||
],
|
||||
|
||||
[case xref:remove_module(Name, M) of
|
||||
ok -> ok;
|
||||
{error, M, _R} -> ok
|
||||
ok -> ok;
|
||||
%% but in doc it should return '{error, module(), Reason}`
|
||||
{error, xref_base, {no_such_module, M}} -> ok
|
||||
end || M <- ExclMods
|
||||
],
|
||||
ModuleInfos = xref:info(Name, modules),
|
||||
|
|
Loading…
Reference in New Issue