Skip to content
  • Waqar Ahmed's avatar
    Dont add one extra line when creating CompactHistoryScroll · f1224716
    Waqar Ahmed authored
    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.
    f1224716