-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Small changes to AtlasDelta toDiffViewFriendlyString method #193
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! Can we get a pre-post example of what a diff looks like?
Good idea. Here's a quick sample on some small features. When you have very small features, the old format is actually easier to read. But it breaks down when the features get really large. Which is why I added the Note how the toString
toDiffViewFriendlyString
|
Description:
Added the diffReason field from
Diff
to the printout, which was missing from the regular toString method. It is very useful when glancing at a diff, so you know exactly what to look for. Additionally, I updated the format of the printout so it is easy to see exactly what changed in any given diff. Each feature is now printed on a separate line, so all you have to do is scroll until you see a change.Potential Impact:
No potential impact. No code currently depends on the diff friendly printouts (barring one or two unit tests which simply log the printouts).
Unit Test Approach:
AtlasDeltaEdgeTest prints out the the diff view friendly string at the DEBUG level, for a demo viewing. No actual code logic is changed.
Test Results:
N/A