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
Never show property diffs for OpSame #16024
Conversation
Changelog[uncommitted] (2024-05-02)Bug Fixes
|
Here's the test output of the display tests with this change applied: https://gist.github.com/tgummerer/a8e3cc9f097115dc3b53e4dd8c17beb9 Aside from the moved lines which I'm still working on, I think the diff makes sense. E.g.
Comes from a test where the comment explicitly says "Check that if a provider normalizes an input we don't display that as a diff.". We did display the diff before, but don't do now. One thing I'm not sure about is diffs like this:
Which in raw data looks like
So it removes some output we were showing before for providers, but that doesn't look like a diff 🤔 |
Yeh that looks fine to me |
I looked through the diff of the testdata here and it all looks reasonable. We are expecting a bunch less output because we don't actually want to show it to users.
Description
Fixes #15944.
Checklist
make tidy
to update any new dependenciesmake lint
to verify my code passes the lint checkgofumpt
make changelog
and committed thechangelog/pending/<file>
documenting my change