Fix up some bad test data for diffviewer tests.

Review Request #12696 — Created Oct. 24, 2022 and submitted

Information

Review Board
release-6.x

Reviewers

We had a couple tests in the diffviewer module that were technically
including incorrect index lines for the diff being applied. We hadn't
noticed this because GNU patch is pretty good at applying patches even
when they don't quite match up perfectly, but Apple patch (which we're
not actually supporting) exposed these. This change fixes that up, just
for the sake of correctness.

Ran unit tests.

Summary ID
Fix up some bad test data for diffviewer tests.
We had a couple tests in the diffviewer module that were technically including incorrect index lines for the diff being applied. We hadn't noticed this because GNU patch is pretty good at applying patches even when they don't quite match up perfectly, but Apple patch (which we're not actually supporting) exposed these. This change fixes that up, just for the sake of correctness. Testing Done: Ran unit tests.
b571d916170688470af76ecd0da4d61a6524d1fe
david
chipx86
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-6.x (b81c47c)
Loading...