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
7.4 KiB
7.4 KiB