Comments (3)
Not sure this is really necessary, actually. There's a good reason we don't show the object id in the diff: because they're different between the two objects. Closing for now.
from super_diff.
Well, actually, there is an inconsistency here. As you can see here, when the diff formatter spits out an object, it displays instance variables as though they are attributes. However, the deep inspector shows them more as PrettyPrinter would:
from super_diff.
Fixed in 89b7b77.
from super_diff.
Related Issues (20)
- Breaks RSpec extra failure lines support HOT 2
- Unexpected error : unable to convert unpermitted parameters to hash HOT 9
- RSpec hanging when matching on http response HOT 4
- undefined method `keys' for nil:NilClass in request specs HOT 3
- A failing spec with expect(value).to eq 1.0 raises JSON::ParserError HOT 3
- raise error when using custom matcher HOT 2
- Hide color escape chars in non-TTY HOT 1
- Option to disable the key (legend) HOT 2
- Update elision logic to show number of lines omitted
- Add documentation for `attributes_for_super_diff`
- Make a video walkthrough of the internals (with perhaps a better diagram)
- Add a disclaimer about `include`, `contain_exactly`, and `match_array`
- Don't show diff if comparing with an empty collection
- CI takes a very long time to run HOT 1
- Make it easier to run all tests across all appraisals locally
- Failed Assertions on Date Instances Do Not Output a Diff HOT 4
- Rails 7 Assertion on ActionDispatch::TestResponse: undefined method `keys' for nil:NilClass HOT 4
- If a trailing newline is missing from actual vs. expected, it is not shown in the diff
- Take a look at Concordance
- How to Enable the Diff Based on a Tag
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from super_diff.