Open jk779 opened 2 years ago
This looks like a bug to me! Is it possible for you to obtain a larger backtrace by chance? I can see an indicator to what the issue might be but not where it's originating from inside the gem.
Hi @mcmire, thanks fot your reply and sorry for the long silence from my part :( I'm currently running into this issue again in the same project.
In another project where i'm using your gem and the gem the custom matcher is coming from as well, the issue does not occur. So i suspect there is something really strange going on in my application that is causing this (maybe another gem thats interfering?)
I'd love to share more backtraces, i've already dug deep into it with ruby-debug-ide
, but it's not that easy to understand whats going on when SuperDiff.inspect_object
is recusively called and interacting with attr_extras
leading into this exception eventually.
Can you point me which kind of trace/debug info you'd need?
(I've already attached a "full" backtrace in the original post, which i guess you have seen?)
Since it's not a public project this issue arises in I'm sadly not able to share the whole source code here :(
Because it's probably a project/app specific problem, I strongly think the problem is on my part, but i would greatly appreciate your help anyways if you've a minute to spare :)! Otherwise I think this issue can be closed. 🙈
Thanks!
Hi! This is a great gem! 🎊
I'm experiencing a problem tho. When using a custom rspec matcher like this:
and expecting with it like this:
i'll get the following error when the matcher doesn't match:
(full stacktrace here)
When using the same code with a non-custom matcher, e.g.:
everything works great and an expected super_diff is displayed.
Am I missing something here?