diff --git a/src/tests/frontend/specs/timeslider_follow.js b/src/tests/frontend/specs/timeslider_follow.js index e3d9b8067..5b7ec492f 100644 --- a/src/tests/frontend/specs/timeslider_follow.js +++ b/src/tests/frontend/specs/timeslider_follow.js @@ -13,7 +13,7 @@ describe('timeslider follow', function () { // send 6 revisions const revs = 6; const message = 'a\n\n\n\n\n\n\n\n\n\n'; - const newLines = message.split('\n').length; + const newLines = message.split('\n').length - 1; for (let i = 0; i < revs; i++) { await helper.edit(message, newLines * i + 1); }