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
Thank you for the bug report! I think I see what is happening. The source lookup makes an assumption that the assert.Check() is the first function on the line, but that is not always true, as your example shows.
I think it should be possible to examine the function name to ensure the correct function is being returned.
This panic was fixed a couple years ago in #196, so I'm going to close this issue. I've had another PR open (#210) with a more involved fix to find the right line. If this problem comes up again we can look at merging that PR.
The following test panics in
logFailureFromBool
ongo version go1.13.4 linux/amd64
.It looks like the playground doesn't allow reading the source file... This is the stack when I run this locally: https://play.golang.org/p/p-JFFPJ8Y6U
The text was updated successfully, but these errors were encountered: