stable

Clone or download

Read-only

Collapse code properly when last line is commented

Part of story #11667 - Finish pull request side-by-side diff How to test: - Given an added line at the end of a file - Comment the line - Refresh - The line should not be collapsed and should have 10 LOCs of context above Change-Id: I2c2eea7f4866e42a7002c33d64b084e895a1e4aa

Modified Files

Name
M plugins/pullrequest/www/scripts/src/app/code-collapse/code-collapse-service.js +9 −3 Go to diff View file
M plugins/pullrequest/www/scripts/src/app/code-collapse/code-collapse-service.spec.js +25 −2 Go to diff View file