Skip to content

Commit 7074840

Browse files
committed
Fix go-to-line package failing spec
1 parent fd1f34f commit 7074840

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/go-to-line/spec/go-to-line-spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ describe('GoToLine', () => {
7777
const rowsPerPage = editor.getRowsPerPage();
7878
const currentRow = editor.getCursorBufferPosition().row;
7979
expect(editor.getFirstVisibleScreenRow()).toBe(
80-
currentRow - Math.ceil(rowsPerPage / 2)
80+
Math.ceil(currentRow - rowsPerPage / 2)
8181
);
8282
expect(editor.getLastVisibleScreenRow()).toBe(
8383
currentRow + Math.floor(rowsPerPage / 2)

0 commit comments

Comments
 (0)