Files
gerrit/polygerrit-ui/app/elements/diff/gr-diff-builder/gr-diff-builder-unified_test.html
Ole Rehmsen 5069a61de8 Fix whitespace-only changes in unified diff
In unified diff mode, with the user preference to ignore whitespace only
changes, only render the "after", not both the left and right. Rendering
left and right makes sense for side-by-side diff, where we anyways need
to render both sides, but is confusing in unified diff mode.

Also add some tests to this class because it had none. This does not
cover everything, but it's better than not having tests.

Change-Id: I31025aee43fcc98c5dbf6342cc3623983356513f
2019-10-08 14:39:34 +02:00

7.4 KiB