Closed jcoyne closed 1 year ago
This test started failing on 3.11.2 When I pin rspec-mocks to 3.22.1, the error goes away.
Do you mean tests started failing on 3.22.2?
Do you mean tests started failing on 3.22.2?
No, I meant when I pin to 3.11.1 it works.
:wave: This is fixed in the yet to be released 3.12.0
, you can use RSpec from main
for now or await a release. There was a fix when detecting keyword arguments with with
in 3.11.2
but the change to improve the diff
requires a different release cycle, given that this may occur for a few people I'm working on releasing 3.12.0
either tonight or tomorrow.
3.12.0
is releases which should highligh the difference (that one is a keyword argument and the other a hash), feel free to provide a reproduction if you think thats in error (there is one unresolved issue related to this in #1492 )
Yes, loads better. Thanks!
This test started failing on 3.11.2
When I pin rspec-mocks to 3.22.1, the error goes away.
The hash that is passed is in fact a different object, but they both contain the same data.