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
The issue is that assertOpts is gathering a list of expected function names and actual function names using runtime.FuncForPC and failing the test when they don't match.
The test output hints at this but is cryptic in where these values are coming from.
I have similar issue but funny enough when running the test in debug (no breakpoint) the test works but when ran normally (not in debug) the value changes and test fails. Any idea why?
example from mock_test.go
this works:
this doesnt work:
The text was updated successfully, but these errors were encountered: