Skip to content

Dont add one extra line when creating CompactHistoryScroll

Waqar Ahmed requested to merge work/fix-test into master

Fixes HistoryTest::testHistoryTypeChange.

We were subtracting -1 for no reason. This lead to adding one extra line to the history. The previous implementation would immediately remove the top line but the new one waits till we have 5 extra lines. Hence, the test broke.

Merge request reports