Fix unit test regressions from recent diff fragment changes.

Review Request #905 - Created Oct. 11, 2017 and submitted

guest2117
Review Board
aaa
The recent changes to the JavaScript diff fragment rendering code
changed how state was stored and made collapsing an optional state.
That change neglected to update the unit tests accordingly for the new
storage and collapsible options, which this change fixes. It also
explicitly sets the expanded state for styling purposes, which wasn't
set before (and wasn't technically needed but might be needed down the
road).

Testing Done:
Unit tests pass.

Tested diff fragments in expanded entries, collapsed entries, and in
the Review Dialog.

Reviewed at https://reviews.reviewboard.org/r/9228/


guest2117
  1. Ship It!
  2. 
      
guest2117
  1. Ship It!
  2. 
      
guest2117
guest2117
guest2117
Review request changed

Status: Closed (submitted)

Loading...