You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here, Decimal.new(nil) should raise ** (FunctionClauseError) no function clause matching in Decimal.new/1
but what we get instead is: ** (FunctionClauseError) no function clause matching in nil.some_fun/2.
I think that's due tu this piece.
Maybe there's a way to inspect the exception and reraise if it's coming from inside stub.
The text was updated successfully, but these errors were encountered:
Consider the following example:
Here,
Decimal.new(nil)
should raise** (FunctionClauseError) no function clause matching in Decimal.new/1
but what we get instead is:
** (FunctionClauseError) no function clause matching in nil.some_fun/2.
I think that's due tu this piece.
Maybe there's a way to inspect the exception and reraise if it's coming from inside stub.
The text was updated successfully, but these errors were encountered: