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
let(:fake_a){instance_double(A)}it'probably does not explode'dofoo(fake_a)end
It will hit the T.absurd, resulting in an error like this:
TypeError:
Control flow reached T.absurd. Got value: #[InstanceDouble(A) (anonymous)]
I'm not sure there is any way to get around this given the way the case statement works but I figured it couldn't hurt to report in case someone had an idea 😄
The text was updated successfully, but these errors were encountered:
For example code like this:
If a test does something like this:
It will hit the
T.absurd
, resulting in an error like this:I'm not sure there is any way to get around this given the way the
case
statement works but I figured it couldn't hurt to report in case someone had an idea 😄The text was updated successfully, but these errors were encountered: