Mox currently does not support explicit allowances with registered names; it only supports explicit allowances via pids. Attempting to create an allowance for a process using a registered name throws a FunctionClauseError. This PR adds a function clause for allow/3 that accepts locally registered names (atoms) or registry tuples.
Mox currently does not support explicit allowances with registered names; it only supports explicit allowances via
pid
s. Attempting to create an allowance for a process using a registered name throws aFunctionClauseError
. This PR adds a function clause forallow/3
that accepts locally registered names (atoms) or registry tuples.Related Issue #43